You can use this https://docs.ansible.com/ansible/latest/user_guide/vault.html?extIdCarryOver=true&sc_cid=701f2000001Css5AAC#storing-passwords-in-third-party-tools-with-vault-password-client-scripts
On Tue, Mar 22, 2022 at 4:45 PM Stefan Hornburg (Racke) <[email protected]> wrote: > On 22/03/2022 12:05, R Batchen wrote: > > Hey, > > I dont understand how ansible vault is safe if i want to use in a > script i need to give ansible > > the file where the password is saved in plain text.. so i dont get it > > > > i do get it being safe if i do a prompts for the password with > --ask-vault-pass > > but when i point to ansible using --vault-password-file or export global > variable with pass it is saved on the system\file as plain text > > > > what am i missing? > > You can use a GPG encrpyted password file with a wrapper script. > > Regards > Racke > > > > > Thanks! > > > > -- > > You received this message because you are subscribed to the Google > Groups "Ansible Project" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <mailto: > [email protected]>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/4ae3f1e6-f4c0-4214-b0a4-d2c5208dcfd6n%40googlegroups.com > < > https://groups.google.com/d/msgid/ansible-project/4ae3f1e6-f4c0-4214-b0a4-d2c5208dcfd6n%40googlegroups.com?utm_medium=email&utm_source=footer > >. > > > -- > Automation expert - Ansible and friends > Linux administrator & Debian maintainer > Perl Dancer & conference hopper > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/918761a2-9f59-b7db-860a-f3d4456a58d3%40linuxia.de > . > -- Thanks, Abhijeet Kasurde -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAFwWkHoTUcFESTexGa6gMsY%3Du-1aQ7%2BM%3DDJaAOqKC%3Dw-_3d1iw%40mail.gmail.com.
