did you try no_log: yes option On Monday, April 3, 2017 at 7:27:21 PM UTC+5, Julius Sediolano wrote: > > Hi All, > > As the subject line says, is there a way to hide/disable the diff on the > copy module so it doesn't expose the contents? > > > [vagrant@localhost test]$ ansible-playbook -D file_copy_test.yml > [WARNING]: Host file not found: /etc/ansible/hosts > > [WARNING]: provided hosts list is empty, only localhost is available > > > PLAY [localhost] > *************************************************************** > > TASK [copy] > ******************************************************************** > changed: [localhost] > --- before > +++ after: /var/tmp/ansible/test/dummy.txt > @@ -0,0 +1 @@ > *+How to hide this content.* > > > PLAY RECAP > ********************************************************************* > localhost : ok=1 changed=1 unreachable=0 > failed=0 >
-- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5a835199-633d-4ac1-9da7-8e133ebfb808%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
