Talk:Ansible: Difference between revisions
→Running Ansible
Line 6:
= Running Ansible =
* Do not use Root account for ansible
* Create
sudo visudo
Line 13:
usermod -aG ansible aman
* Install python on all hosts:
yum install -y python2 epel-release
* Add entry to Hosts file & enable key less SSH access:
ssh-copy-id -i ~/.ssh/id_rsa.pub aman@server2
= Inventory file =
|