Latest questions in Ansible

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,700 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,790 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,105 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,979 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
469 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
841 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,051 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
2 answers

Encrypt a single variable using ansible Vault

Adding to @Zunaid's answer, this can also ...READ MORE

Jan 29, 2019 in Ansible by Sid
2,331 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
758 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,098 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
531 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
331 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,973 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,196 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
737 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
937 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
631 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,416 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
562 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,873 views
0 votes
2 answers

Error saying "ImportError: No module named yaml"

actually this related python pckage in order ...READ MORE

Jul 18, 2020 in Ansible by shivanand
16,744 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
831 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,342 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
795 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
568 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
698 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,178 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,434 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,080 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,764 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,121 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,341 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
844 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,159 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,023 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,144 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,117 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,132 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,429 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,878 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
592 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,902 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
690 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
765 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
756 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,774 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
595 views