have you tried to do no_log: True ?

https://docs.ansible.com/ansible/2.5/reference_appendices/faq.html#how-do-i-keep-secret-data-in-my-playbook

On Fri, Aug 10, 2018 at 7:01 AM Alfredo De Luca <alfredo.del...@gmail.com>
wrote:

> Hi all.
> With ansible we are changing root passwords on our machines. the root
> password is in a vault so all ok....
> But I find our the the command we run to change the password is visible on
> /var/log/messages ..included the password itself....
> How can I remove that or do that in a different way?
>
> Cheers
>
> --
> *Alfredo*
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAAWpFTEgV4ZtBakon9EK4qDpYZCgv8b-OCO-hB24x3269_axFw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAAWpFTEgV4ZtBakon9EK4qDpYZCgv8b-OCO-hB24x3269_axFw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 

Jonathan lozada de la matta

AUTOMATION CONSULTANT - AUTOMATION PRACTICE

Red Hat Consulting Services <https://www.redhat.com/>

jloza...@redhat.com

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BK-NOTJHLYJBtQuQFBLfu7wsXxR-N2ngtSMVFVqsHZYMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to