Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

when hostname ansible

# Use Special Variable inventory_hostname
when: inventory_hostname == 'your_inventory_name'
 
PREVIOUS NEXT
Tagged: #hostname #ansible
ADD COMMENT
Topic
Name
6+3 =