Excerpts from Philippe Eveque's message of 2014-03-19 12:14:31 -0400:
> lineinfile: >
> dest=/etc/hosts.deny
> state=present
> regexp="^ALL:\s+ALL"
> line="ALL: ALL"
Thought I'd add how I handle this:
lineinfile:
dest: /etc/host.deny
state: present
regexp: '^ALL:\s+ALL'
line: 'ALL: ALL'
I personally find it slightly more readable.
--
Morgan Hamill
--
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/1395245970-sup-6494%40al.wesleyan.edu.
For more options, visit https://groups.google.com/d/optout.