I'm new to Ansible and learning a lot but I have a stupid question.  I just 
can not quite see the answer.
I have a file

aaa
bbb
ccc

I want to add 
ddd
eee

but only if it does not already exist.  So I can rerun playbook without 
creating dups.

I've tried register and when.
I have tried using  backrefs=yes

It is just slipping though my fingers.  I'm sure this is child's play for 
many of you .  Please instruct...

-- 
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/2fecb6f1-b359-455b-8b93-4d6e66dff3d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to