Trending questions in Ansible

0 votes
1 answer

Trying to execute bash script using Ansible one one node

You could make your task an asynchronous action by ...READ MORE

Jan 29, 2019 in Ansible by Kavya
2,465 views
0 votes
1 answer

reboot all web servers in Canada, 15 at a time. is that possible in Ansible?

Of course, that is possible @Neel, just ...READ MORE

Mar 6, 2019 in Ansible by Yogesh
846 views
0 votes
1 answer

Error saying "ERROR! Unexpected Exception: 'module' object has no attribute '_vendor'"

Ansible is highly dependant on the python ...READ MORE

Jan 28, 2019 in Ansible by Varsha
2,384 views
0 votes
1 answer

How do I add ssh authorized keys in ansible playbook?

Hey @kailash use the authorized_key plugin that ...READ MORE

Feb 12, 2019 in Ansible by Kyra
1,749 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
2,163 views
0 votes
1 answer

Error saying "Failed to find required executable npm in paths"

Hey @Thomas,  Seems like those extra paths have ...READ MORE

Jan 10, 2019 in Ansible by Naina
3,051 views
0 votes
1 answer

Error saying "Internal Error: this module does not support running commands via 'sudo'"

Hey @Syra, use the sudo directive in ...READ MORE

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

Error saying no module boto3 even though I have it.

Hey @Liala, try using hosts as localhost ...READ MORE

Feb 9, 2019 in Ansible by Monish
1,714 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,892 views
0 votes
1 answer

What are the different types of plugins available in Ansible?

Ansible provides a huge variety of plugins ...READ MORE

Feb 19, 2019 in Ansible by Priya
1,232 views
0 votes
1 answer

How do i set multiple authorized keys to my ansible playbook?

Try this: - name: Set up multiple authorized ...READ MORE

Feb 12, 2019 in Ansible by John
1,575 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,696 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
2,035 views
0 votes
1 answer

What are connection plugins in Ansible?

Hey @Jay, connection plugins allow ansible to ...READ MORE

Feb 20, 2019 in Ansible by Shalaka
1,170 views
0 votes
1 answer

Calico wait for etcd error when creating kubernetes cluster using kubespray

Hey @Kanika, You need to open two ...READ MORE

Jan 22, 2019 in Ansible by Jinha
2,369 views
0 votes
1 answer

Role of subelement module in an Ansible playbook

Hey @Rahul thanks for a better question ...READ MORE

Jan 16, 2019 in Ansible by Emily
2,598 views
0 votes
1 answer
0 votes
1 answer

Delete previously added authorized keys and add new ones

Hey @Emily, hope this works - name: Set ...READ MORE

Feb 12, 2019 in Ansible by John
1,456 views
0 votes
1 answer

What are cache plugins in Ansible?

Cache plugins allow Ansible to store gathered facts ...READ MORE

Feb 20, 2019 in Ansible by Kashish
1,109 views
0 votes
1 answer

How do I manage Server Load balancing on A10 network? - Ansible

Hey @Tanishq, you can use the a10_server ...READ MORE

Feb 11, 2019 in Ansible by Myra
1,440 views
0 votes
1 answer

How do I enable cache plugin in Ansible?

Hey @Jason, You can enable a cache plugin ...READ MORE

Feb 20, 2019 in Ansible by Yogesh
1,030 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,520 views
0 votes
1 answer

How do I install Ansible on Ubuntu?

Hey Kiara, Execute the following commands to Install ...READ MORE

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

Can Ansible modules be used from the command line?

Yes @Donna, you can execute a module ...READ MORE

Feb 11, 2019 in Ansible by Tariq
1,287 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
1,584 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
1,390 views
0 votes
1 answer

lookup_plugins directory in Ansible

Hey @Ruth, check one of these places: check ...READ MORE

Jan 29, 2019 in Ansible by Kavya
1,847 views
0 votes
1 answer

Why are facts gathered in puppet and ansible?

The facts gathered by these tools are ...READ MORE

Feb 21, 2019 in Ansible by Vismaya
799 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,531 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
1,328 views
0 votes
1 answer
0 votes
1 answer

How do I manage my config snapshots? - Ansible

Hey @Pandora, You can use the aci_config_snapshot module ...READ MORE

Feb 11, 2019 in Ansible by Kyra
1,142 views
0 votes
1 answer

Ansible playbook giving an error - all hosts have already failed - aborting

Hey @Ruth, you seem to have made ...READ MORE

Jan 17, 2019 in Ansible by Sameer
2,202 views
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
1,293 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,509 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
1,182 views
0 votes
1 answer
0 votes
1 answer

what does ansible-vault edit command do?

Hey @Faizal, your worry is obvious in ...READ MORE

Feb 11, 2019 in Ansible by Mariam
939 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
1,236 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
1,030 views
0 votes
1 answer

Error saying "ERROR: sudo_pass is not a legal parameter at this level in an Ansible Playbook"

Here sudo_pass is where you're going wrong. ...READ MORE

Jan 29, 2019 in Ansible by Hatim
1,528 views
0 votes
1 answer

How do i get Ansible predefined variables?

There three types of variables variables gathered from ...READ MORE

Jan 24, 2019 in Ansible by Parth
1,694 views
0 votes
1 answer

Add authorized key taken from a URL - Ansible

Hey @Lopez, you can use the authorized_key ...READ MORE

Feb 12, 2019 in Ansible by Charlie
910 views
0 votes
1 answer

Use cases of modernizing and automating workflow

Of course automation is being used everywhere and ...READ MORE

Jan 25, 2019 in Ansible by Wong
1,638 views
0 votes
1 answer

Error message saying variable undefines - Ansible

Hey @Karthik, you don't really have to ...READ MORE

Feb 9, 2019 in Ansible by Monish
998 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,329 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
1,307 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
1,295 views
0 votes
1 answer

Running Ansible Bash profile shows messages everytime a terminal is opened

Change the bash profile to read like ...READ MORE

Jan 14, 2019 in Ansible by Cobe
2,062 views
0 votes
1 answer

Install multiple roles - Ansible

You'll need a requirements.yaml file which will ...READ MORE

Jan 10, 2019 in Ansible by Rishi
2,241 views