Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ansible use host file flag

# Use the -i flag to reference an ansible hosts file
ansible all -i=/etc/ansible/myhostfile -m ping
 
PREVIOUS NEXT
Tagged: #ansible #host #file #flag
ADD COMMENT
Topic
Name
5+8 =