diff options
Diffstat (limited to 'roles/postfix/simple/tasks/main.yml')
-rw-r--r-- | roles/postfix/simple/tasks/main.yml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/roles/postfix/simple/tasks/main.yml b/roles/postfix/simple/tasks/main.yml deleted file mode 100644 index 4309c3ac..00000000 --- a/roles/postfix/simple/tasks/main.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: install postfix package - apt: - name: postfix - state: present - -- name: basic postfix options - vars: - postfix_options: - mydestination: "{{ postfix_simple_mydestination | join(', ') }}" - mynetworks: "{{ postfix_simple_mynetworks | join(', ') }}" - relayhost: "{{ postfix_simple_relayhost }}" - inet_interfaces: "{{ postfix_simple_inet_interfaces | join(', ') }}" - inet_protocols: "{{ postfix_simple_inet_protocols | join(', ') }}" - loop: "{{ postfix_options | dict2items }}" - loop_control: - label: "{{ item.key }} = {{ item.value }}" - lineinfile: - regexp: "^#?\\s*{{ item.key }}\\s*=" - line: "{{ item.key }} = {{ item.value }}" - dest: /etc/postfix/main.cf - notify: restart postfix |