Wednesday, January 9, 2019

Ansible Troubleshooting Tips


ansible-config dump --only-changed

Sunday, January 6, 2019

How to make SSH agent running in the background

============================================================

ssh-agent: It is an authentication agent which handles all the private keys password. ssh-agent command initiates a ssh agent background program which we will be used later to store private keys password.You will notice the below output on terminal. Add the output in .bash_profile to always load it automatically.

SSH_AUTH_SOCK=/tmp/ssh-D6wit2Nad0zP/agent.7180; export SSH_AUTH_SOCK;
SSH_AGENT_PID=7181; export SSH_AGENT_PID;
echo Agent pid 7181;

Tuesday, January 1, 2019

After Provisioning the VM you need to install few packages like below

yum install kernel-devel
yum install gcc*



EPEL Repositories

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

( or )

yum -y install epel-release


Ansible Tower Releases

https://releases.ansible.com/ansible-tower/setup/
subscription-manager repos --disable=rhel-7-server-optional-rpms