Andreas, when I implemented this, I had to put a line in the section to use
sudo for the installation, which makes sense, just wondering if you had
achieved that another way , just curious.
I initially did these manually for testing, but this is obviously a much
better solution for large scale
UTC, codfather wrote:
After much googling I haven't found a solution to this. I want to reboot a
single server from a group of servers in my hosts file. This is being done
on OSX, with ansible 1.8.
Playbook:
- name: restart server
command: /sbin/reboot
- name: wait for the server
After much googling I haven't found a solution to this. I want to reboot a
single server from a group of servers in my hosts file. This is being done
on OSX, with ansible 1.8.
Playbook:
- name: restart server
command: /sbin/reboot
- name: wait for the server to restart
local_action: