Most viewed questions in Ansible

0 votes
0 answers

How get_facts or show commands on A10 network? - Ansible

I'm a network engineer leveraging the A10s ...READ MORE

Apr 23, 2019 in Ansible by David
• 120 points
637 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
629 views
0 votes
1 answer

Requirements to used aws_ssm module

The below requirements are needed on the ...READ MORE

Mar 24, 2019 in Ansible by Hitesh
628 views
0 votes
1 answer

lookup_plug in file too distributed

Hey @laksha, you can wrap it into ...READ MORE

Jan 29, 2019 in Ansible by Kavya
627 views
0 votes
0 answers

what is the difference between tags and delegate_to in ansible? [closed]

Sep 23, 2019 in Ansible by Rajendra
• 510 points

closed Sep 24, 2019 by Kalgi 624 views
0 votes
1 answer

Trying to install a program from ansible playbook on vagrant but ends up failing

Hey @Rajni, you can register the variable ...READ MORE

Jan 13, 2019 in Ansible by Mike
622 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
616 views
0 votes
1 answer

Error updating rsyslog using ansible

apparently my proxy server was blocking the ...READ MORE

Aug 17, 2018 in Ansible by DareDev
• 6,890 points
616 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
607 views
0 votes
1 answer

Ansible task to create service object using inline definition

You can use the k8s module for ...READ MORE

Jun 11, 2019 in Ansible by Tanya
604 views
0 votes
1 answer

How to create a role in Ansible?

Hi@akhtar, You can create a role in Ansible ...READ MORE

Aug 20, 2020 in Ansible by MD
• 95,440 points
601 views
0 votes
1 answer

print basic boto debug message

Debug Controls the level of debug messages ...READ MORE

Mar 26, 2019 in Ansible by Raymond
601 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
594 views
0 votes
1 answer

How to add several lines in a file using lineinfile module?

Hi@akhtar, When we need to perform a task ...READ MORE

Sep 2, 2020 in Ansible by MD
• 95,440 points
593 views
0 votes
1 answer

Mention Kubernetes version while using it with ansible

Hey @Dustin, The default value for roles is kube_version: ...READ MORE

Jan 22, 2019 in Ansible by Anushri
592 views
0 votes
1 answer

Can I limit the execution of a playbook on selected clients?

Create a group in the inventory file ...READ MORE

Oct 23, 2020 in Ansible by Varshitha
588 views
0 votes
1 answer

Ansible playbook to automate security configurations of an EC2 instance

Hey @Kiara, your indentation is very wrong. ...READ MORE

Jan 24, 2019 in Ansible by Harsh
588 views
0 votes
1 answer

Importance of lineinfile module in Ansible.

Hi@akhtar, The lineinfile module will search a file ...READ MORE

Sep 2, 2020 in Ansible by MD
• 95,440 points
582 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
581 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
579 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
578 views
0 votes
1 answer

How to delete an ECS Cluster using Ansible Playbook?

Hi@akhtar, An Amazon ECS cluster is a logical grouping of ...READ MORE

Dec 4, 2020 in Ansible by MD
• 95,440 points
572 views
0 votes
1 answer

How to create an encrypted bucket in AWS using Ansible Playbook?

Hi@akhtar, Sometimes it is required to encrypt the ...READ MORE

Dec 4, 2020 in Ansible by MD
• 95,440 points
572 views
0 votes
1 answer

Hey I'm trying to execute a playbook but I get the following error:

Hey, you have a syntax error as ...READ MORE

Mar 26, 2019 in Ansible by Kalgi
• 52,360 points
572 views
0 votes
1 answer

Playbook to wait for servers to come online - Ansible

Hey @Dipti, try something like this: - name: ...READ MORE

Mar 26, 2019 in Ansible by Jaz
572 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
571 views
0 votes
1 answer

Virtualization Infrastructure supported by Ansible

Yes, Vagrant supports Ansible, in-fact Ansible is ...READ MORE

Jan 25, 2019 in Ansible by Sai
566 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
564 views
0 votes
1 answer

User on the target VM - Ansible

Yes @Nisha, You can run a shell ...READ MORE

Jan 28, 2019 in Ansible by Kavya
560 views
0 votes
1 answer

Iterate over containerInstance feild?

Try something like this: - name: List jenkins ...READ MORE

Apr 9, 2019 in Ansible by Anshul
555 views
0 votes
1 answer

Requirements to run Ansible with Jenkins

These are the only requirements for running ...READ MORE

Apr 4, 2019 in Ansible by Himanshu
552 views
0 votes
2 answers

Execution of Ansible playbook now reflecting any changes

Hey @Moana, you playbook is missing the ...READ MORE

Jan 17, 2019 in Ansible by Sameer
552 views
0 votes
1 answer

What is Ansible Vault?

Vault is something that holds the encrypted ...READ MORE

Jan 29, 2019 in Ansible by Kavya
543 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
542 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

Install ansible galaxy roles

Here is a very basic example that ...READ MORE

Jan 10, 2019 in Ansible by Disha
535 views
0 votes
1 answer

Unable to install Ansible on centOS

Seems like you're stuck at creating ansible ...READ MORE

Dec 20, 2018 in Ansible by Alan
535 views
0 votes
1 answer

where to install Ansible galaxy?

Hey Gayatri, This can be done with ...READ MORE

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

Showing different Ansible version

Seems like you have two versions of ...READ MORE

Jan 14, 2019 in Ansible by Natasha
530 views
0 votes
1 answer

What all can I do with Ansible?

Ansible is capable of doing a lot ...READ MORE

Jan 8, 2019 in Ansible by Takeshi
526 views
0 votes
1 answer

What files can be encrypted using the Ansible Vault?

Yes @Umang, Ansible Vault is used to ...READ MORE

Jan 29, 2019 in Ansible by Kavya
525 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
524 views
0 votes
1 answer

Requirements to install MySQL and MariaDB on ubuntu - Ansible

You don't really need anything specific. Just ...READ MORE

Oct 24, 2019 in Ansible by Bob
523 views
0 votes
1 answer

stopping different hosts from reading the same value when usign ansible in loop

Try using this. Create a new directory ...READ MORE

Jul 27, 2018 in Ansible by DareDev
• 6,890 points
522 views
0 votes
1 answer

Install snap for Kubernetes cluster automation

Hey @Mohit, there is no snap module ...READ MORE

Jan 22, 2019 in Ansible by Veronica
517 views
0 votes
1 answer

Error while installing ansible-galaxy on Mac

Run the following to upgrade setuptools under ...READ MORE

Mar 13, 2019 in Ansible by Haider
513 views
0 votes
1 answer

Organize roles - Ansible roles

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

Mar 13, 2019 in Ansible by Haider
511 views
0 votes
1 answer

Playbook to Create a VM with OS and multiple data storage accounts

Hey @Neha, you can write a task ...READ MORE

Mar 27, 2019 in Ansible by Frankie
508 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
504 views
0 votes
1 answer

Is it mandatory to have Ansible Controller Machine (ACM) and Jenkins Master on the same server/instance ?

Make git, Jenkins, Docker, ansible master as ...READ MORE

Sep 30, 2020 in Ansible by Adil
502 views