When I do this and the file already exists, then it fails to add the line. On Wednesday, March 18, 2015 at 5:14:27 PM UTC-4, Michael Bushey wrote: > > > I would have expected ansible to create the file instead of erroring out. > > Do this first to make sure it exists: > > - name: Create /etc/hosts.deny > shell: touch /etc/hosts.deny creates=/etc/hosts.deny > > >
-- 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/c42cd050-5bf6-43ed-a044-a2333b0ac3cb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
