You'd do well to start here:
https://docs.ansible.com/ansible/latest/collections/community/general/read_csv_module.html
On Sunday, March 27, 2022 at 3:58:07 PM UTC-4 delm...@gmail.com wrote:
> I was hoping that you can give me a hand with an issue here. I have about
> a thousand routers that I’
I was hoping that you can give me a hand with an issue here. I have about a
thousand routers that I’m trying to configure. I have all the device
specific information on a CSV file that I would like to use for populating
all the necessary device fields. I would like to loop through this CSV
fi
An option would be to use gpg-agent. Depending on your setup that
might automagically unlock when you sign in to the computer you use to
run ansible playbooks.
For example I know that on macOS you can store the gpg password in the
OS' keychain.
On Sun, 27 Mar 2022 at 16:17, R Batchen wrote:
>
>
sorry i encrypted like this:
gpg -c vault
ב-יום ראשון, 27 במרץ 2022 בשעה 17:17:13 UTC+3, R Batchen כתב/ה:
> I have tried using the gpg script works amazing BUT - the gpg file askes
> randomly the password again and again so i cannot really relay on that.
> i used like this :
>
> gpg-wrapper.s
I have tried using the gpg script works amazing BUT - the gpg file askes
randomly the password again and again so i cannot really relay on that.
i used like this :
gpg-wrapper.sh -
#!/bin/sh
VAULT_PW_FILENAME="/base/vaults/vault.gpg"
gpg --quiet --batch --use-agent --decrypt $VAULT_PW_FILENAME
a