Open main menu

CDOT Wiki β

Changes

OPS435 Ansible

17 bytes added, 02:26, 24 November 2019
Sample runs for using some Ansible's built-in modules
</source>
== Part 2: Sample runs for some of the Ad hoc commands ==
<pre>
[rchan@centos7 ansible]$ ansible 192.168.99.153 -m copy -a "src=/home/rchan/ops435/ansible/ansible.txt dest=/tmp/ansible.txt"
}
</pre>
 == Part 3: Sample runs for using some Ansible's built-in modules ==
<pre>
[rchan@centos7 ansible]$ ansible 192.168.99.153 -m yum -a "name=epel-release state=present"
1,760
edits