[ansible-project] playbook - Could not resolve hostname ~/ssh.conf:

2016-12-06 Thread Swathi Cutie
Please help , Ansible playbook failing with the error "failed connect to host via ssh' [root@localhost infrastructure]# ansible-playbook -i /home/swathi/Desktop/infrastructure/production/ python_request.yml PLAY [mesos-agents]

[ansible-project] Ansible : ERROR! Decryption failed

2016-12-01 Thread Swathi Cutie
Hi , I am a newbie to ansible When i try to run the ansible-playbook i am getting a decryption failed error [root@localhost infrastructure]# ansible-playbook -i /home/swathi/Desktop/infrastructure/production/ec2.py vertica_role.yml ERROR! Decryption failed on

[ansible-project] ssh failing

2016-12-05 Thread Swathi Cutie
Hi i am connecting to my ec2 instance and i am getting this error , please help ssh centos@10.103.1.235 -vvv OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013 debug1: Reading configuration data /root/.ssh/config debug1: /root/.ssh/config line 1: Applying options for 10.103* debug1: Reading

[ansible-project] How to check the physical memory and free disk is greater than some value?

2017-04-26 Thread Swathi Cutie
How to write an ansible task to check if the physical memory >=128 MB and free disk is >= 256 MB. i tried to get the output but i am not sure how to proceed further. # Check the physical disk memory 128 MB and free disk 256 MB - name: check the physical memory command: free -m