Changes

Jump to: navigation, search

Ops535 ansible lab

479 bytes added, 09:29, 23 November 2018
Reference
= Reference =
[https://docs.ansible.com/ansible/latest/user_guide/index.html Ansible Latest User Guide]
== Key Concepts ==
* YAML - a human-readable data serialization language & is commonly used for configuration files. To know more, your can check out the [https://en.wikipedia.org/wiki/YAML wikipedia page here]
** <u><b>copy module</b></u>
** ansible 192.169.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 status=latest"
== Sample runs for some of the Ad hoc commands ==
= Pre-Lab arrangement =
* You must have at lease two networked machines
** control node - run ansible to configure remote node
** remote nodes - to be managed by the control node
* You should be to ssh from your control node as a regular user to any of your remote nodes as root user without supplying a login password.
* Python 2.7+ on all nodes
= Lab Procedure =
1,760
edits

Navigation menu