Most answered questions in Ansible

0 votes
1 answer

What is vault id?

A vault id is an identifier for ...READ MORE

Mar 7, 2019 in Ansible by William
852 views
0 votes
1 answer

Python script to decrypt while running the playbook - Ansible Vault

Ansible provides a feature where you can ...READ MORE

Mar 7, 2019 in Ansible by William
3,043 views
0 votes
1 answer

Password prompt everytime I run a playbook is annoying

So Ansible provides a feature called vault ...READ MORE

Mar 7, 2019 in Ansible by William
1,559 views
0 votes
1 answer

Pass multiple password files while running ansible playbook

Hey @Neha, you can pass your password ...READ MORE

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

View the encrypted file without decrypting - Ansible Vault

Hey @Laksha, you can view the file ...READ MORE

Mar 6, 2019 in Ansible by William
1,207 views
0 votes
1 answer

Disadvantages of using Ansible Vault

There are two main disadvantages: If you lose ...READ MORE

Mar 6, 2019 in Ansible by William
1,326 views
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
540 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,555 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,525 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
486 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,631 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,209 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
398 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
561 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,224 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
636 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,410 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
535 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
602 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
790 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
569 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
757 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,199 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
687 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,309 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
945 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
677 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,252 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,946 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,348 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
614 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
738 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
620 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,330 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
650 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,358 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,250 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,716 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,100 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,944 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,538 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
743 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,278 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
575 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,575 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,130 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
575 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,127 views