Skip to content

Commit

Permalink
Cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Aug 23, 2023
1 parent 9db9bd0 commit dbb742e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,49 @@
ansible.builtin.command: >
newaliases
when: postfix_default_database_type != 'regexp'
changed_when: true

- name: new virtual aliases
ansible.builtin.command: >
postmap {{ postfix_default_database_type }}:{{ postfix_virtual_aliases_file }}
when: postfix_default_database_type != 'regexp'
changed_when: true

- name: postmap sasl_passwd
ansible.builtin.command: >
postmap {{ postfix_default_database_type }}:{{ postfix_sasl_passwd_file }}
when: postfix_default_database_type != 'regexp'
changed_when: true

- name: postmap sender_canonical_maps
ansible.builtin.command: >
postmap {{ postfix_sender_canonical_maps_database_type }}:{{ postfix_sender_canonical_maps_file }}
when: postfix_sender_canonical_maps_database_type != 'regexp'
changed_when: true

- name: postmap recipient_canonical_maps
ansible.builtin.command: >
postmap {{ postfix_recipient_canonical_maps_database_type }}:{{ postfix_recipient_canonical_maps_file }}
when: postfix_recipient_canonical_maps_database_type != 'regexp'
changed_when: true

- name: postmap transport_maps
ansible.builtin.command: >
postmap {{ postfix_transport_maps_database_type }}:{{ postfix_transport_maps_file }}
when: postfix_transport_maps_database_type != 'regexp'
changed_when: true

- name: postmap sender_dependent_relayhost_maps
ansible.builtin.command: >
postmap {{ postfix_default_database_type }}:{{ postfix_sender_dependent_relayhost_maps_file }}
when: postfix_default_database_type != 'regexp'
changed_when: true

- name: postmap generic
ansible.builtin.command: >
postmap {{ postfix_smtp_generic_maps_database_type }}:{{ postfix_smtp_generic_maps_file }}
when: postfix_smtp_generic_maps_database_type != 'regexp'
changed_when: true

- name: remove pid
ansible.builtin.file:
Expand Down

0 comments on commit dbb742e

Please sign in to comment.