readme.md 450 Bytes

YOHO ANSIBLE ROLES

How to Run

Default inventory file in [ansible.cfg] is : [./inventories/test/hosts] You should identify inventory file by [-i]


ansible-playbook site.yml -i inventories/az3/hosts
ansible-playbook site.yml --limit nginx  -i inventories/az3/hosts

# run playbooks
ansible-playbook playbooks/nginx.yml  -i inventories/az3/hosts

# run shell
ansible all -m shell -a "cat /etc/resolv.conf"  -i inventories/az3/hosts