You've already forked ansible-role-common
yamllint fixes
This commit is contained in:
@@ -10,22 +10,25 @@
|
||||
notify: Restart Postfix
|
||||
when: "'SMTP0' not in inventory_hostname"
|
||||
with_items:
|
||||
- { dest: /etc/postfix/main.cf,
|
||||
- {
|
||||
dest: /etc/postfix/main.cf,
|
||||
regexp: "^.?inet_protocols =",
|
||||
line: "inet_protocols = ipv4"
|
||||
line: "inet_protocols = ipv4",
|
||||
}
|
||||
- { dest: /etc/postfix/main.cf,
|
||||
- {
|
||||
dest: /etc/postfix/main.cf,
|
||||
regexp: "^.?inet_interfaces =",
|
||||
line: "inet_interfaces = all"
|
||||
line: "inet_interfaces = all",
|
||||
}
|
||||
- { dest: /etc/postfix/main.cf,
|
||||
- {
|
||||
dest: /etc/postfix/main.cf,
|
||||
regexp: "^.?relayhost =",
|
||||
line: "relayhost = {{ relayhost }}"
|
||||
line: "relayhost = {{ relayhost }}",
|
||||
}
|
||||
- {
|
||||
dest: /etc/postfix/main.cf,
|
||||
regexp: "^.?smtp_randomize_addresses =",
|
||||
line: "smtp_randomize_addresses = no"
|
||||
line: "smtp_randomize_addresses = no",
|
||||
}
|
||||
|
||||
- name: postfix | Ensure Postfix is Started/Enabled
|
||||
|
||||
Reference in New Issue
Block a user