forked from ansible-lockdown/RHEL9-CIS
consistent lineinfile usage
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
02d686f920
commit
82d1d18504
12 changed files with 41 additions and 76 deletions
|
|
@ -285,7 +285,7 @@
|
|||
|
||||
- name: "2.2.17 | PATCH | Ensure mail transfer agent is configured for local-only mode"
|
||||
lineinfile:
|
||||
dest: /etc/postfix/main.cf
|
||||
path: /etc/postfix/main.cf
|
||||
regexp: "^(#)?inet_interfaces"
|
||||
line: "inet_interfaces = loopback-only"
|
||||
notify: restart postfix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue