Most answered questions in Ansible

0 votes
1 answer

Unarchive module overwriting - Ansible

Hey @joe, you can use the create option, ...READ MORE

Jan 30, 2019 in Ansible by Khadeer
3,033 views
0 votes
1 answer

Is there a way to recover lost Ansible Vault password?

Hey @Sridhar, There is no way to ...READ MORE

Jan 29, 2019 in Ansible by Akthia
2,701 views
0 votes
1 answer

How to set vault password on ansible tower?

On Ansible Tower, go to Settings > ...READ MORE

Jan 29, 2019 in Ansible by Yesha
5,795 views
0 votes
1 answer

Is there any way to encrypt --private-key with ansible-vault and use it encrypted with Ansible Playbook

Hey @Kajol, Create a passphrase for the key openssl ...READ MORE

Jan 29, 2019 in Ansible by Anupam
3,107 views
0 votes
1 answer

Error while using ansible vault "ERROR! input is not vault encrypted data for vars/vars-mysql-config.yml"

Hey @Bhupan, I think your file is ...READ MORE

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

Upload encrypted file using ansible vault?

You can do this, make your playbook ...READ MORE

Jan 29, 2019 in Ansible by Faizal
844 views
0 votes
1 answer

Creating non interactive ansible vault

Hey @Jolly,  You can use the --vault-password-file option for ansible-vault non-interactive ...READ MORE

Jan 29, 2019 in Ansible by Shah
2,056 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
544 views
0 votes
1 answer

How to create a new encrpted file using Ansible Vault?

If you are creating a new file ...READ MORE

Jan 29, 2019 in Ansible by Kyraa
759 views
0 votes
1 answer

How to encrypt and existing file using Ansible Vault?

Hey @Kyraa, to encrypt an existing file ...READ MORE

Jan 29, 2019 in Ansible by Kavya
3,104 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
534 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
332 views
0 votes
1 answer

Trying to execute bash script using Ansible one one node

You could make your task an asynchronous action by ...READ MORE

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

How to remove cron using Ansible

Hey @Likhit, You could use something like ...READ MORE

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

Error when executing ansible playbook on Azure

Hey @Ganga, As the error message says, ...READ MORE

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

Error saying "ERROR: sudo_pass is not a legal parameter at this level in an Ansible Playbook"

Here sudo_pass is where you're going wrong. ...READ MORE

Jan 29, 2019 in Ansible by Hatim
938 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
633 views
0 votes
1 answer

lookup_plugins directory in Ansible

Hey @Ruth, check one of these places: check ...READ MORE

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

Error saying "ERROR! Unexpected Exception: 'module' object has no attribute '_vendor'"

Ansible is highly dependant on the python ...READ MORE

Jan 28, 2019 in Ansible by Varsha
1,876 views
0 votes
1 answer

Error when installing a role - Ansible

The yaml python package is provided by the PyYAML pip ...READ MORE

Jan 28, 2019 in Ansible by Fez
833 views
0 votes
1 answer

Ansible vs Ansible Tower

Ansible is CM tool and orchestration engine. ...READ MORE

Jan 28, 2019 in Ansible by Haider
3,343 views
0 votes
1 answer

What is ansible tower?

Hey @Nisha, Ansible Tower is Ansible at a ...READ MORE

Jan 25, 2019 in Ansible by Shankar
796 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
570 views
0 votes
1 answer

Ansible and NetApp provisioning

Ansible and NetApp hopped in as one ...READ MORE

Jan 25, 2019 in Ansible by Vivan
699 views
0 votes
1 answer

Use cases of modernizing and automating workflow

Of course automation is being used everywhere and ...READ MORE

Jan 25, 2019 in Ansible by Wong
1,179 views
0 votes
1 answer

Ansible use cases

There are 6 main places where ansible ...READ MORE

Jan 25, 2019 in Ansible by Chester
2,436 views
0 votes
1 answer

Multilines in shell script inside Ansible playbook

You could write your playbook in this ...READ MORE

Jan 25, 2019 in Ansible by Donna
3,085 views
0 votes
1 answer

How to configure fact caching in Ansible?

There are two cache plugins: redis and jsonfile. To ...READ MORE

Jan 24, 2019 in Ansible by Kennedy
3,767 views
0 votes
1 answer

Define variables in Ansible Playbook

Variable names should be letters, numbers, and ...READ MORE

Jan 24, 2019 in Ansible by Jinha
1,128 views
0 votes
1 answer

How do i get Ansible predefined variables?

There three types of variables variables gathered from ...READ MORE

Jan 24, 2019 in Ansible by Parth
1,342 views
0 votes
1 answer

Access Inventory file - Ansible

You can just use {{ ansible_ssh_host }} Inventory: [my_hosts] my_host ansible_ssh_host=127.0.0.1 ...READ MORE

Jan 24, 2019 in Ansible by Akansha
846 views
0 votes
1 answer

Execute shell commands using Ansible

You can use a playbook for this ...READ MORE

Jan 24, 2019 in Ansible by Ayaan
5,162 views
0 votes
1 answer

How do I get an ENV variable and store it into a local variable - Ansible

Hey @Ninja, that is possible. What you ...READ MORE

Jan 24, 2019 in Ansible by Thomas
2,027 views
0 votes
1 answer

Print multiple env variables using ansible playbook

Hey @Tom, you can use the lookup ...READ MORE

Jan 24, 2019 in Ansible by Rick
5,150 views
0 votes
1 answer

How do I access environment variables in Ansible?

Yes @Nagray, you're right! You can access ...READ MORE

Jan 24, 2019 in Ansible by Tessie
8,124 views
0 votes
1 answer

How to use get_url on windows - Ansible

Hey @Biji, you could use the win_get_url ...READ MORE

Jan 24, 2019 in Ansible by Olly
4,136 views
0 votes
1 answer

Create directories and download files in Ansible using Ansible playbook

Hey @Yash,  you could either use file module ...READ MORE

Jan 24, 2019 in Ansible by Cerdin
5,437 views
0 votes
1 answer

How do I wget a file from web server using shell in the ansible playbook

Hey Ayaan, you could probably use this ...READ MORE

Jan 24, 2019 in Ansible by Anushri
3,882 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
594 views
0 votes
1 answer

Errors when executing - ansible -m ping all - kubespray

Hey @Ananya, make sure of these following ...READ MORE

Jan 24, 2019 in Ansible by Yesha
4,909 views
0 votes
1 answer

Where to find inventory file? - Kubespray

By default its located in /etc/ansible/hosts. You can ...READ MORE

Jan 23, 2019 in Ansible by Noor
694 views
0 votes
1 answer

Set an explicit inventory file - Kubespray

Hi @Isha, Go to /etc/ansible/ansible.cfg In the default section ...READ MORE

Jan 23, 2019 in Ansible by Yesha
767 views
0 votes
1 answer

Can I use Kubespray without using kubespray_git_repo?

Hey @Sparsh, Obviously you can, follow these ...READ MORE

Jan 23, 2019 in Ansible by Shankar
761 views
0 votes
1 answer

Calico wait for etcd error when creating kubernetes cluster using kubespray

Hey @Kanika, You need to open two ...READ MORE

Jan 22, 2019 in Ansible by Jinha
1,782 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
521 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
598 views
0 votes
1 answer

How to get details of playbook executions

Run these commands to enable logging before ...READ MORE

Jan 22, 2019 in Ansible by Tanishq
2,895 views