Skip to content

Commit

Permalink
Cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Nov 28, 2024
1 parent f3a57b2 commit 386f7f6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
matrix:
include:
- distro: debian10
ansible-version: '>=9, <10'
- distro: debian11
- distro: debian12
- distro: ubuntu1804
Expand Down
22 changes: 11 additions & 11 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
dest: "{{ postfix_mailname_file }}"
owner: root
group: root
mode: 0644
mode: '0644'
notify: restart postfix
tags:
- configuration
Expand All @@ -50,7 +50,7 @@
dest: "{{ postfix_main_cf }}"
owner: root
group: root
mode: 0644
mode: '0644'
notify: restart postfix
tags:
- configuration
Expand All @@ -63,7 +63,7 @@
dest: "{{ postfix_sasl_passwd_file }}"
owner: root
group: root
mode: 0600
mode: '0600'
when:
- postfix_relayhost | length
- postfix_sasl_auth_enable | bool
Expand All @@ -82,7 +82,7 @@
dest: "{{ postfix_aliases_file }}"
owner: root
group: root
mode: 0644
mode: '0644'
notify:
- new aliases
- restart postfix
Expand Down Expand Up @@ -112,7 +112,7 @@
line: '{{ item.virtual }} {{ item.alias }}'
owner: root
group: root
mode: 0644
mode: '0644'
create: true
state: present
with_items: "{{ postfix_virtual_aliases }}"
Expand All @@ -131,7 +131,7 @@
line: '{{ item.sender }} {{ item.rewrite }}'
owner: root
group: root
mode: 0644
mode: '0644'
create: true
state: present
with_items: "{{ postfix_sender_canonical_maps }}"
Expand All @@ -150,7 +150,7 @@
line: '{{ item.recipient }} {{ item.rewrite }}'
owner: root
group: root
mode: 0644
mode: '0644'
create: true
state: present
with_items: "{{ postfix_recipient_canonical_maps }}"
Expand All @@ -169,7 +169,7 @@
line: '{{ item.pattern }} {{ item.result }}'
owner: root
group: root
mode: 0644
mode: '0644'
create: true
state: present
with_items: "{{ postfix_transport_maps }}"
Expand All @@ -188,7 +188,7 @@
line: '{{ item.pattern }} {{ item.result }}'
owner: root
group: root
mode: 0644
mode: '0644'
create: true
state: present
with_items: "{{ postfix_sender_dependent_relayhost_maps }}"
Expand All @@ -207,7 +207,7 @@
line: '{{ item.pattern }} {{ item.result }}'
owner: root
group: root
mode: 0644
mode: '0644'
create: true
state: present
with_items: "{{ postfix_smtp_generic_maps }}"
Expand All @@ -225,7 +225,7 @@
dest: "{{ postfix_header_checks_file }}"
owner: root
group: root
mode: 0644
mode: '0644'
notify:
- restart postfix
tags:
Expand Down
3 changes: 2 additions & 1 deletion tests/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# test file
---
- hosts: localhost
- name: converge
hosts: localhost
connection: local
become: true
roles:
Expand Down
3 changes: 2 additions & 1 deletion tests/vagrant.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# test file
---
- hosts: all
- name: converge
hosts: all
remote_user: vagrant
become: true
roles:
Expand Down

0 comments on commit 386f7f6

Please sign in to comment.