style: make ansible-lint happier

This commit is contained in:
VC
2024-07-05 11:53:33 +02:00
parent 30ec08487f
commit a0b23684a5
4 changed files with 42 additions and 34 deletions

View File

@@ -1,14 +1,18 @@
---
- name: postmap virtual-regexp
command: postmap /etc/postfix/virtual-regexp
listen: "postmap files"
- name: Postmap virtual-regexp
ansible.builtin.command:
cmd: postmap /etc/postfix/virtual-regexp
changed_when: true
listen: "Postmap files"
- name: postmap transport
command: postmap /etc/postfix/transport
listen: "postmap files"
- name: Postmap transport
ansible.builtin.command:
cmd: postmap /etc/postfix/transport
changed_when: true
listen: "Postmap files"
- name: restart postfix
service:
- name: Restart postfix
ansible.builtin.service:
name: postfix
state: restarted