February 2018
Intermediate to advanced
200 pages
5h 51m
English
#Target all hosts in azure group $ ansible -i azure_rm.py azure -m ping #Target all hosts in example resource group $ ansible -i azure_rm.py example -m ping
$ ansible-playbook -i azure_rm.py playbook.yml
# Content of playbook.yml
$ cat playbook.yml
---
- host: tag_env_preprod
tasks:
- name: Test Dynamic Inventory
shell: /bin/uname -a
$ ansible tag_env_preprod -m ping
Read now
Unlock full access