Most answered questions in Ansible

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
889 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,403 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
649 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
762 views
+1 vote
1 answer
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
485 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
348 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
336 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
1,975 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,390 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
822 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,120 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,066 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
702 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,901 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
926 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
577 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
517 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,618 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,377 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
315 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
666 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,647 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
361 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
403 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
903 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
489 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
573 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
635 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,155 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
817 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,605 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,048 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,122 views
0 votes
1 answer

Install snap

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

Feb 1, 2019 in Ansible by Anisha
497 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,493 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,037 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
935 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,717 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
897 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
457 views
0 votes
1 answer

Ansible study materials

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

Jan 31, 2019 in Ansible by Julie
920 views
0 votes
1 answer

How do I access shell environment variables using Ansible Playbook

Hey @Tina, If you need to access ...READ MORE

Jan 31, 2019 in Ansible by Mahir
3,209 views
0 votes
1 answer

How do I see all the inventory variables defined for my host?

Hey @Junaid, You can see all the ...READ MORE

Jan 31, 2019 in Ansible by Mahir
1,627 views
0 votes
1 answer

How do I get a list of all Ansible variables?

Ansible by default gathers facts about machines ...READ MORE

Jan 31, 2019 in Ansible by Mahir
5,607 views
0 votes
1 answer

How do I disable cowsay?

You can uninstall cowsay by setting nocows=1 in ansible.cfg, or ...READ MORE

Jan 31, 2019 in Ansible by Mahir
3,835 views
0 votes
1 answer

How do I configure a jump host to access servers that I have no direct access to?

You can set a ProxyCommand in the ansible_ssh_common_args inventory variable. Any ...READ MORE

Jan 31, 2019 in Ansible by Mahir
10,756 views
0 votes
1 answer

How do I handle different machines needing different user accounts or ports to log in with?

Setting inventory variables in the inventory file ...READ MORE

Jan 31, 2019 in Ansible by Ansi
662 views