> Try this:
>

(..)

  tasks:
    - name: add a line to /etc/hosts.deny
      lineinfile:
        "dest='/etc/hosts.deny'
        line='ALL : ALL' 
        insertafter=EOF
        create=yes
        state=present"
 (..)

-- 
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/4da07203-c0e5-4042-8525-83cbefd520b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to