This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
7
local command?
Post Body
I often use Ansible to check that all my servers are responding using the command "ansible all -m command -a uptime -o" which executes "uptime" on all my servers. I can easily tell if a server isn't responding. I'm working on an idea where I want to execute a command locally for all servers. Something like (I know this is wrong) "ansible all -m command -a 'local-command {{ansible_inventory_host}}' --localhost -o". Is that possible?
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/ansible/com...