Answers for "ansible specify host file"

1

ansible choose host file

# Default host file
/etc/ansible/hosts

# Choose different host file
-i <path>
Posted by: Guest on June-11-2021
0

ansible use host file flag

# Use the -i flag to reference an ansible hosts file
ansible all -i=/etc/ansible/myhostfile -m ping
Posted by: Guest on March-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language