playbook_ansible/ansible.yml

27 lines
625 B
YAML

---
###########################################################################
#
# This is the top level playbook for the 'ansible' role.
#
# This role will install ansible to the target host using pip3.
#
###########################################################################
#
# This playbook can be run using the following command line;
#
# ansible-playbook -i <inventory file | IP,> ansible.yml
#
# ie,
# ansible-playbook -i 192.168.1.123, ansible.yml
#
###########################################################################
- hosts: all
gather_facts: true
user: root
roles:
- role: ansible
# EOF