Run an Ansible playbook against an IP
To run a playbook against a single host, thats not in a hosts list, use this comment.
NOTE: the comma after the IP address
the -K is of course requesting the sudo password
ansible-playbook -i 192.168.1.181, install_node_exporter.yml -K
- Read more about Run an Ansible playbook against an IP
- Log in or register to post comments