You've already forked ansible-role-common
Migrate to common_ prefixed vars
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
}
|
||||
- { dest: /etc/postfix/main.cf,
|
||||
regexp: "^.?relayhost =",
|
||||
line: "relayhost = {{ relayhost }}"
|
||||
line: "relayhost = {{ common_postfix_relayhost }}"
|
||||
}
|
||||
- {
|
||||
dest: /etc/postfix/main.cf,
|
||||
@@ -33,11 +33,11 @@
|
||||
name: postfix
|
||||
state: started
|
||||
enabled: yes
|
||||
when: postfix_configure
|
||||
when: common_postfix_configure
|
||||
|
||||
- name: Ensure root forwarding address is set
|
||||
lineinfile:
|
||||
dest: ~/.forward
|
||||
regexp: "{{ root_email }}"
|
||||
line: "{{ root_email }}"
|
||||
regexp: "{{ common_root_email }}"
|
||||
line: "{{ common_root_email }}"
|
||||
create: yes
|
||||
|
||||
Reference in New Issue
Block a user