Most viewed questions in Ansible

0 votes
1 answer

Get ports using vagrant

You can get the correct ports using ...READ MORE

Feb 4, 2019 in Ansible by Husna
1,063 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
1,062 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
1,050 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
1,046 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
1,046 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
1,046 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,460 points
1,040 views
0 votes
1 answer

Install Ansible on centOS

Hey @Ali, Installing Ansible is a piece ...READ MORE

Jan 8, 2019 in Ansible by Kiara
1,040 views
0 votes
1 answer

I am having issues installing basic packages using ansible

Hi@akhtar, Every application has some dependencies. Then only ...READ MORE

Nov 24, 2020 in Ansible by MD
• 95,460 points
1,039 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
1,036 views
0 votes
1 answer

Playbook to start ec2 instance

- name: Create an ec2 instance ...READ MORE

Apr 9, 2019 in Ansible by Kalgi
1,019 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
1,001 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
997 views
0 votes
1 answer

How to create template in Ansible?

Hi@akhtar, A template in Ansible is a file ...READ MORE

Aug 2, 2020 in Ansible by MD
• 95,460 points
978 views
0 votes
1 answer

Install snap

There is no snap module for ansible ...READ MORE

Feb 1, 2019 in Ansible by Anisha
972 views
0 votes
1 answer

No debug messages from boto to be printed

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

Mar 26, 2019 in Ansible by Raymond
968 views
0 votes
1 answer

Playbook to add ec2 instance to ELB

Hey, @Kishore, try something like this: - hosts: ...READ MORE

Mar 26, 2019 in Ansible by Yesha
954 views
0 votes
1 answer

What does Fact mean in Ansible?

Hi@akhtar, When any new variable about the system ...READ MORE

Aug 11, 2020 in Ansible by MD
• 95,460 points
949 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
947 views
0 votes
1 answer

perform ansible task with variable undefines

Hey @Laksha, If a variable has not been set, ...READ MORE

Feb 4, 2019 in Ansible by Anushri
947 views
0 votes
1 answer

My roles have a directory called files. What does it do?

This directory contains regular files that need ...READ MORE

Mar 13, 2019 in Ansible by Barbara
945 views
0 votes
1 answer

Playbook executed fine but output not as expected

Hey @Nisha, you've mentioned this line on ...READ MORE

Feb 7, 2019 in Ansible by Pragya
938 views
0 votes
1 answer

Encrypt an encrypted file - Ansible Vault

Hey @Fez, This is one of the way ...READ MORE

Jan 29, 2019 in Ansible by Cerci
922 views
0 votes
1 answer

How to decrypt a vault in Ansible?

Hi@akhtar, You can use decrypt keyword in your ...READ MORE

Aug 11, 2020 in Ansible by MD
• 95,460 points
920 views
0 votes
1 answer

Encryption using vault

Hey @Neha, unfortunately, that's not possible. You ...READ MORE

Jan 29, 2019 in Ansible by Nish
906 views
0 votes
1 answer

Restoring to a different cluster - Ansible

Hey @Kiara, When you try to restore ...READ MORE

Feb 4, 2019 in Ansible by Anushri
879 views
0 votes
0 answers

it will executing but skipping the tomcat and Jenkins

---   - hosts: all     become: yes     tasks:       - name: installing tools         yum: ...READ MORE

Aug 17, 2019 in Ansible by Rajendra
• 510 points
876 views
0 votes
1 answer

What are the requirements to run Anible on Azure?

Using the Azure Resource Manager modules requires ...READ MORE

Apr 5, 2019 in Ansible by ZA
861 views
0 votes
1 answer

Why do people use Ansible roles?

Ansible roles are basically like functions in ...READ MORE

Mar 12, 2019 in Ansible by Yamini
861 views
0 votes
1 answer

Playbook to create availability disk for a VM

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

Mar 27, 2019 in Ansible by Harsh
860 views
0 votes
1 answer

Restoring to an existing environment - Ansible

The restore contains the following: Dump of the ...READ MORE

Feb 4, 2019 in Ansible by Anushri
857 views
0 votes
1 answer

How to update a distribution comment by distribution id using Ansible Playbook?

Hi@akhtar, You can update your distribution with the ...READ MORE

Sep 30, 2020 in Ansible by MD
• 95,460 points
830 views
0 votes
1 answer

Provide Ansible with sudo passwords

These are the exact situations where we ...READ MORE

Jan 10, 2019 in Ansible by Noor
801 views
0 votes
1 answer

Error saying "DistributionNotFound jinja2<2.9"

Hey @Kiara, update your distribution instead of jinja ...READ MORE

Jan 14, 2019 in Ansible by Rahul
800 views
0 votes
1 answer

Which module is used to add repo in ansible for ubuntu?

It is Apt_repository that is used to ...READ MORE

Sep 28, 2020 in Ansible by Akhil
773 views
0 votes
0 answers

Service mongod not found

I have a playbook to install mean ...READ MORE

Mar 15, 2019 in Ansible by kalgi
727 views
0 votes
1 answer

Get rid of fake error logs

These two modules : failed_when and changed_when ...READ MORE

Feb 7, 2019 in Ansible by Pragya
720 views
0 votes
0 answers

I want to check package kexec in all server how do i do it

I want to check package kexec in ...READ MORE

Apr 19, 2023 in Ansible by anonymous

edited Mar 5 283 views
0 votes
0 answers
0 votes
0 answers

unable to deploy ansible playbook onto node servers

Hi all, I am getting below error while ...READ MORE

Oct 16, 2022 in Ansible by Karthik

edited Mar 4 256 views
0 votes
0 answers

I want to copy folder (k-uat) src:/var/www and dest:/var/www with different name

I want to copy a folder (k-uat) ...READ MORE

Sep 23, 2022 in Ansible by Ashok

edited Mar 4 238 views
0 votes
0 answers

In Ansible playbook after creation of EC2 instance how to get return values like instance id, vpc id in output?

I am creating Ec2 instance using Ansible ...READ MORE

Aug 8, 2022 in Ansible by sivasai

edited Mar 4 207 views
0 votes
0 answers

Ansible - ssh connection is established between ansible and remote servers, but while running the playbook getting below error

Able to connect ansible and remote servers ...READ MORE

Aug 29, 2022 in Ansible by anonymous

edited Mar 4 204 views
0 votes
0 answers

why with_items is not looping properly in yml , any suggestions

This is the yml file:  - name: Update ...READ MORE

Jun 30, 2022 in Ansible by anonymous

edited Mar 4 144 views