I have these encrypted strings in my role's var/main.yml file ... ... and everything works fine. BUT I was told that I need to not define this in t ...
I have these encrypted strings in my role's var/main.yml file ... ... and everything works fine. BUT I was told that I need to not define this in t ...
I want to encrypt my host credentials in a central secrets.yml file. How can I tell Ansible, to use the variables? I tried with this setup: host_va ...
I want to store the ansible vault password in aws secret manager and then use the CLI to decrypt the contents in the vault by referencing to the passw ...
Having a file in the inventory named myFile.properties.j2 that is used in a task in one of the roles that a playbook uses Content of the file : Th ...
Is there a way to use the ansible.builtin.uri module to post / put an encrypted file while seamlessly decrypting it from the vault? Or is there a safe ...
After automating pulling the secrets from AWS, I wanted to use Ansible Vault to lock it up, and so I first tested this manually. Is there a way to do ...
I have setup a vault credentials in tower with variable name Vault. Can i use that variable on my playbook ? will Ansible read the value from vault cr ...
I'm working with Ansible Tower and using Vault credential. When I launch it using the graphical interface of Ansible Tower (I add the credential when ...
Right now my inventory file looks like this: (using password-based authentication) How do I store the username and password in a different file usi ...
How can I skip entering the vault password for an ansible playbook? I run the playbook with --ask-vault-pass option, but I do not want to keep enteri ...
- name: Vault Test set_fact: msg: "{{ lookup('hashi_vault', 'secret=secret token=token url=https://address')}}" I hava a error when run this ...
I used to store ansible_ssh_pass in host_vars, enctypted with ansible-vault, but now i want to move it to hashicorp-vault. I wrote a simple role to ge ...
I have created hosts: And a playbook that should update those servers: Each of those 3 hosts has a different username and password: So now my ...
I am trying to decrypt an encrypted string using Ansible vault. I have a key which is used for encryption. The encryption works fine but decryption do ...
In Ansible AWX I created a Vault-credential (named: user-pw). Now I want to use that password in a playbook. But it doesn't work. I created a templat ...
I want to create a file (namely an id_rsa key) using ansible. It seems that using the copy builtin module is no longer recommended and users are advi ...
I am using the following structure to separate my host_vars into plaintext and encrypted Is there a way, using ansible-vault to encrypt both files ...
I am new to ansible and I have problems when I want to replace variables in a configuration file. The case is that I have tags in this file to be repl ...
. Answers to this question are eligible for a +50 reputation bounty. Ev ...