Open main menu

CDOT Wiki β

Changes

OPS435 Ansible

122 bytes added, 02:20, 24 November 2019
Key Concepts when using Ansible
* Built-in modules
** <u><b>copy module</b></u>
*** ansible 192.169168.99.153 -m copy -a "src=/ops435/ansible.txt dest=/tmp/ansible.txt"
** <u><b>Package management</b></u>
*** ansible 192.168.99.153 -m yum -a "name=epel-release state=latest"
* Running Ansible Playbooks
** ansible-playbook -i 192.168.99.153, setup_webserver.yaml
** ansible-playbook firstrun.yaml
== Installing Ansible on CentOS 7 ==
1,760
edits