Most voted questions in Ansible

0 votes
1 answer
0 votes
1 answer

Error saying ""msg": "Failed to import docker-py - No module named 'requests.packages.urllib3'. Try `pip install docker-py`""

Hey @Hari, In addition to docker-py install the following ...READ MORE

Feb 9, 2019 in Ansible by Monish
6,591 views
0 votes
1 answer

Error saying "FAILED! => {"changed": false, "failed": true, "msg": "the python pymongo module is required"}"

Hey @Monish I figured what my issue ...READ MORE

Feb 9, 2019 in Ansible by Manik
2,165 views
0 votes
1 answer

style.css not getting executed while installing lamp stack using ansible

Hey @Kishore make sure, your folder directory ...READ MORE

Feb 9, 2019 in Ansible by Monish
587 views
0 votes
1 answer

Error saying permission denied while running ansible playbook

Hey @Neha, add the following line to ...READ MORE

Feb 8, 2019 in Ansible by Amy
15,170 views
0 votes
1 answer

Error saying script is already running - Ansible playbook error

Remove the previous processes before running this ...READ MORE

Feb 8, 2019 in Ansible by Dee
922 views
0 votes
1 answer

Can I upgrade Ansible with available modules of ansible?

Ansible can upgrade itself using pip module ...READ MORE

Feb 8, 2019 in Ansible by Dee
1,425 views
0 votes
1 answer

What are the system requirements I need to fulfill for the ec2_vpc_subnet module to work - Ansible

The below requirements are needed on the ...READ MORE

Feb 8, 2019 in Ansible by Dee
687 views
0 votes
1 answer

Error saying "ERROR: ec2_vpc_subnet is not a legal parameter of an Ansible Play"

ec2_vpc_subnet is support from Ansible version 2.0 and ...READ MORE

Feb 8, 2019 in Ansible by Dee
797 views
0 votes
1 answer

Clear the entire provision setup if fails to execute even a single command

Of course this is possible @Kiara, you ...READ MORE

Feb 7, 2019 in Ansible by Pragya
514 views
0 votes
1 answer

Playbook executed fine but output not as expected

Hey @Nisha, you've mentioned this line on ...READ MORE

Feb 7, 2019 in Ansible by Pragya
362 views
0 votes
1 answer

Get rid of fake error logs

These two modules : failed_when and changed_when ...READ MORE

Feb 7, 2019 in Ansible by Pragya
348 views
0 votes
1 answer
0 votes
1 answer

Reset unreachable hosts - Ansible

If you try using the host that ...READ MORE

Feb 7, 2019 in Ansible by Yesha
2,008 views
0 votes
1 answer

How to ignore failed commands in Ansible?

Usually, if even one command fails to ...READ MORE

Feb 7, 2019 in Ansible by Patt
15,421 views
0 votes
1 answer
0 votes
1 answer

Abort playbook execution when servers fail to deploy.

Het @Peter, try something like this: - name: ...READ MORE

Feb 7, 2019 in Ansible by Pragati
839 views
0 votes
1 answer

"FATAL: all hosts have already failed -- aborting" - Ansible error

Hey @Anju, you could change your second ...READ MORE

Feb 7, 2019 in Ansible by Sri
1,136 views
0 votes
1 answer

Ansible not loading variables properly

group_vars/all/main.yml: symfony: env: "{{ ENV ...READ MORE

Feb 4, 2019 in Ansible by anonymous
1,078 views
0 votes
1 answer

Error saying "ERROR: ufw is not a legal parameter in an Ansible task or handler"

Hey @Neel, you're probably running an older ...READ MORE

Feb 4, 2019 in Ansible by Diana
722 views
0 votes
3 answers

Error saying "ERROR: problem running ansible_hosts --list ([Errno 8] Exec format error)" while running ansible playbook

Also, remove the execute permission for the ansible ...READ MORE

Feb 4, 2019 in Ansible by Pam
5,320 views
0 votes
1 answer

Get ansible commands return value

Hey @Hina, you can add the following ...READ MORE

Feb 4, 2019 in Ansible by Diana
3,927 views
0 votes
1 answer

Requirements in the host that executes the mysql_db module.

These are the requirements for the host ...READ MORE

Feb 4, 2019 in Ansible by Diana
952 views
0 votes
2 answers

How to create MySQL tables using Ansible?

--- - hosts: dbserver   tasks:    - name: create a table ...READ MORE

Mar 19, 2019 in Ansible by Ankit Tyagi
7,489 views
0 votes
1 answer

Get ports using vagrant

You can get the correct ports using ...READ MORE

Feb 4, 2019 in Ansible by Husna
616 views
0 votes
1 answer

Configuration for setting up windows VM using ansible and vagrant

Hey @Leena,  your configuration file group_vars/windows-dev should contain something like: ansible_user: ...READ MORE

Feb 4, 2019 in Ansible by Vaishu
531 views
0 votes
1 answer

How do I update CentOS using Ansible?

You can use the yum module in the ...READ MORE

Feb 4, 2019 in Ansible by Diana
3,644 views
0 votes
1 answer

Backup file name - Ansible

Hey @Veronica, 6332 is the process ID ...READ MORE

Feb 4, 2019 in Ansible by Fazi Mullah Khan
1,411 views
0 votes
1 answer

perform ansible task with variable undefines

Hey @Laksha, If a variable has not been set, ...READ MORE

Feb 4, 2019 in Ansible by Anushri
326 views
0 votes
1 answer

Setup custom logo in Ansible Tower

Hey @Anjlai, Go to setting menu, navigate ...READ MORE

Feb 4, 2019 in Ansible by Kyraa
678 views
0 votes
1 answer

Playbook to backup all mysql databases

Hey @Ruth, you could use a playbook, ...READ MORE

Feb 4, 2019 in Ansible by Anushri
2,691 views
0 votes
1 answer

Restoring to a different cluster - Ansible

Hey @Kiara, When you try to restore ...READ MORE

Feb 4, 2019 in Ansible by Anushri
371 views
0 votes
1 answer

Restoring to an existing environment - Ansible

The restore contains the following: Dump of the ...READ MORE

Feb 4, 2019 in Ansible by Anushri
419 views
0 votes
1 answer

Backup and restore for clustered environment - Ansible

If you're restoring to a new cluster, ...READ MORE

Feb 4, 2019 in Ansible by Anushri
942 views
0 votes
1 answer

Considerations when dealing with backup and restoration - Ansible

Hey @Ruth, keep these following factors in ...READ MORE

Feb 4, 2019 in Ansible by Anushri
514 views
0 votes
1 answer

How do I backup my ansible playbooks?

In addition to the install.yml file included with your setup.sh setup ...READ MORE

Feb 4, 2019 in Ansible by Anushri
588 views
0 votes
1 answer

Where do I get ansible RDS Instance?

Hey @Neha, In the same dir as ...READ MORE

Feb 4, 2019 in Ansible by Anushri
646 views
0 votes
1 answer

Error saying "ImportError: No module named ansible.playbook" when installing ansible on aws

Hey @Niana, I don't think you have ...READ MORE

Feb 4, 2019 in Ansible by Anushri

edited Feb 6, 2019 4,183 views
0 votes
1 answer

How do I make my_dir available for all hosts? - Ansible

Hey @Kiara,  f you want to make my_dir available to ...READ MORE

Feb 1, 2019 in Ansible by Anisha
836 views
0 votes
1 answer

Error saying "ConnectionError(ProtocolError('Connection aborted.', error(2, 'No such file or directory')),)"

Hey @Nisha, you get this error when ...READ MORE

Feb 1, 2019 in Ansible by Kunal
1,638 views
0 votes
1 answer

ping from a docker container to a PBX sip server which is lying in the same lan as the host machine

Hey @Laksha, Look at how you're starting ...READ MORE

Feb 1, 2019 in Ansible by Anisha
1,076 views
0 votes
1 answer

Error saying "msg: unsupported parameter for module: deb"

Hey @Laksha, I think an older version ...READ MORE

Feb 1, 2019 in Ansible by Ansiha
2,136 views
0 votes
1 answer

Install snap

There is no snap module for ansible ...READ MORE

Feb 1, 2019 in Ansible by Anisha
511 views
0 votes
1 answer

How to run Ansible without hosts file?

Hey @Ruth, you can use ansible without using ...READ MORE

Feb 1, 2019 in Ansible by Anisha
2,529 views
0 votes
1 answer

Where do I get Ansible Tower hostname

Hey @Neel, you can fetch that information ...READ MORE

Feb 1, 2019 in Ansible by Anisha
1,061 views
0 votes
1 answer

Running Ansible Tower behind nginx

Hey @Jeena, you should find it at /etc/tower/conf.d/remote_host_headers.py, ...READ MORE

Feb 1, 2019 in Ansible by Anisha
956 views
0 votes
1 answer

How does strategy : free improve performance for network playbook?

The strategy plugin tells Ansible how to order multiple ...READ MORE

Feb 1, 2019 in Ansible by Anisha
2,740 views
0 votes
1 answer

Why is my output sometimes replaced with ********* ? - Ansible

Any string marked no-log, including passwords, are ...READ MORE

Feb 1, 2019 in Ansible by Anisha
921 views
0 votes
1 answer

How do I improve performance for network playbooks?

Hey @Anjali, these are few of the ...READ MORE

Feb 1, 2019 in Ansible by Ani
504 views
0 votes
1 answer

Ansible study materials

Hey @Jones, to study Ansible, first go ...READ MORE

Jan 31, 2019 in Ansible by Julie
946 views