Most viewed questions in Ansible

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,440 points
470 views
0 votes
1 answer

Clear the entire provision setup if fails to execute even a single command

Of course this is possible @Kiara, you ...READ MORE

Feb 7, 2019 in Ansible by Pragya
465 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,440 points
462 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
461 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
459 views
0 votes
1 answer

How do i automatically install galaxy roles?

You should use a requirements.yml file for this use-case. ...READ MORE

Mar 12, 2019 in Ansible by William
455 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
452 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,440 points
449 views
0 votes
1 answer

Playbook to start ec2 instance

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

Apr 9, 2019 in Ansible by Kalgi
440 views
0 votes
0 answers

How to extract information about remote linux servers using ansible?

It is important to gather data from ...READ MORE

Dec 15, 2022 in Ansible by Edureka
• 12,690 points
434 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,440 points
429 views
0 votes
1 answer

When to use Ansible work with Jenkins?

If your deployment and machine environment are ...READ MORE

Apr 4, 2019 in Ansible by Anand
427 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
415 views
0 votes
1 answer

How do I improve performance for network playbooks?

Hey @Anjali, these are few of the ...READ MORE

Feb 1, 2019 in Ansible by Ani
408 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
399 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
398 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
397 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
395 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
391 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
390 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
388 views
0 votes
1 answer

How is Jenkins used with Ansible?

Jenkins can be used as an interface ...READ MORE

Apr 4, 2019 in Ansible by Ashish
381 views
0 votes
1 answer

What is a template in Ansible?

Hi@akhtar, Managing configurations of multiple servers and environments are ...READ MORE

Aug 2, 2020 in Ansible by MD
• 95,440 points
377 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
377 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
365 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
357 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
356 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
349 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,440 points
345 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
339 views
0 votes
1 answer

Manage large number of roles

I had close to 200 roles. All of ...READ MORE

Mar 13, 2019 in Ansible by Levin
338 views
0 votes
1 answer

Setting Up Ansible Hosts

Hey @Sammer, follow these steps: Open the host's ...READ MORE

Jan 17, 2019 in Ansible by Sinha
332 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
328 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
309 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
309 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
298 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
258 views