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
865 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,054 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,574 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,764 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,219 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,335 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
546 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,568 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,542 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
497 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,643 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,223 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
407 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
566 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,284 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
644 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,417 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
540 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
608 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
798 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
573 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
764 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,210 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
696 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,332 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
949 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,206 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
685 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,260 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,961 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,362 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
622 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
752 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
634 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,343 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
652 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,368 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,273 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,724 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,108 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,953 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,553 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
749 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,289 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
584 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,584 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,151 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
582 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,152 views