style: make ansible-lint happier
This commit is contained in:
@@ -1,33 +1,36 @@
|
||||
---
|
||||
|
||||
- name: install opendkim
|
||||
package:
|
||||
- name: Install opendkim
|
||||
ansible.builtin.package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- opendkim
|
||||
- opendkim-tools
|
||||
|
||||
- name: main configuration files
|
||||
template:
|
||||
- name: Main configuration files
|
||||
ansible.builtin.template:
|
||||
src: opendkim.conf
|
||||
dest: /etc/opendkim.conf
|
||||
mode: 0644
|
||||
notify:
|
||||
- restart opendkim
|
||||
- Restart opendkim
|
||||
|
||||
- name: dkim directory
|
||||
file:
|
||||
- name: Dkim directory
|
||||
ansible.builtin.file:
|
||||
path: /etc/dkim
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: secondary configuration files
|
||||
copy:
|
||||
- name: Secondary configuration files
|
||||
ansible.builtin.copy:
|
||||
src: "./files/dkim/{{ item }}"
|
||||
dest: "/etc/dkim/{{ item }}"
|
||||
mode: 0644
|
||||
loop:
|
||||
- KeyTable
|
||||
- PeerList
|
||||
- SigningTable
|
||||
- TrustedHosts
|
||||
notify:
|
||||
- restart opendkim
|
||||
- Restart opendkim
|
||||
|
Reference in New Issue
Block a user