Latest questions in Ansible

0 votes
1 answer

How do I enable sudo privileges in the playbook?

Hey @Kiran, to set enable mode for ...READ MORE

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

Error saying "Invalid input (privileged mode required)" - Ansible

The task that generated this error requires to enable mode ...READ MORE

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

Check status of an operation running in the background - Ansible

Hey @Neel, According to the documentation, Long running ...READ MORE

Mar 6, 2019 in Ansible by Yesha
1,521 views
0 votes
1 answer

Ensure the package is latest version - Ansible

Ensure a package is at the latest ...READ MORE

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

Check for certain package with specific version exists - Ansible

Hey @Kavya, to check if a package ...READ MORE

Mar 6, 2019 in Ansible by Devika
2,624 views
0 votes
2 answers

Check is a package exists - Ansible

Hey There, @here is an example for your ...READ MORE

May 6, 2020 in Ansible by Rajat
• 160 points
7,577 views
0 votes
1 answer

copy multiple files to multiple systems - Ansible

You can use /usr/bin/ansible command line. Ansible can SCP ...READ MORE

Mar 6, 2019 in Ansible by Yogesh
4,195 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
396 views
0 votes
1 answer

What are Ad-Hoc commands?

Ad-Hoc command is something that you would ...READ MORE

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

Change Ansible Vault editor from vi to nano

By default, the editor used by the ...READ MORE

Mar 5, 2019 in Ansible by Yogesh
15,183 views
0 votes
1 answer

How do I copy files from my system desktop to my EC2 instance?

One of the ways is to upload ...READ MORE

Mar 5, 2019 in Ansible by Kyraa
634 views
0 votes
1 answer

How do I install Ansible on windows?

Hi Neha, you cannot have an entire ...READ MORE

Feb 28, 2019 in Ansible by Kavya
1,404 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
531 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
598 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
786 views
0 votes
2 answers

How to enable Inventory Cache plugin in Ansible?

Adding to @Farookh's answer, if the inventory ...READ MORE

Feb 20, 2019 in Ansible by Shalaka
2,058 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
567 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
752 views
0 votes
1 answer

What are Action plugins in Ansible?

Action plugins work with the modules to ...READ MORE

Feb 19, 2019 in Ansible by Jobin
1,194 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
682 views
0 votes
1 answer

What are the SCM tools supported by jenkins?

Hey @Jugnu, below are Source code management ...READ MORE

Feb 13, 2019 in Ansible by Imran
6,293 views
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
943 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,198 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
673 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,249 views
0 votes
1 answer

Can I use something like if statement to check for conditions in my playbook?

Hey @Kashish, you could use something like ...READ MORE

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

How do I add apt key by id from a keyserver? - Ansible

Hey @Altis, you can use the module ...READ MORE

Feb 11, 2019 in Ansible by Kyra
3,346 views
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
613 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
733 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
614 views
0 votes
1 answer

Reset ansible vault password

Should you wish to change your password ...READ MORE

Feb 11, 2019 in Ansible by Zonasha
5,326 views
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
647 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,353 views
0 votes
1 answer

What is the difference between the host file and an inventory file in ansible?

Actually both are same. hosts file is ...READ MORE

Feb 12, 2019 in Ansible by Amith
• 140 points
7,235 views
0 votes
1 answer

Permission denied while running the playbook

Hey @Hari, try executing your playbook using ...READ MORE

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

How do I use my static and dynamic inventory files together in an ansible playbook?

Add both your static and dynamic inventories ...READ MORE

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

SSH encountered an unknown error during the connection - Ansible Error

I think you have not configured your ...READ MORE

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

Error saying "Timeout (12s) waiting for privilege escalation prompt: or Connection to 127.0.0.1 closed.\r\n"

Hey @Sinha, add these parameters in your ...READ MORE

Feb 9, 2019 in Ansible by Monish
4,533 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
735 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,276 views
0 votes
1 answer

Do all Ansible modules mentioned in Playbook tasks actually run on the remote host machine?

Hey @Shruti, ansible tasks run on the ...READ MORE

Feb 9, 2019 in Ansible by Monish
571 views
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,571 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,118 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
567 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,109 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
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