Fix new ansible-lint errors

Quite a few changes here, hopefully they work!
This commit is contained in:
Jake Howard
2023-06-15 15:16:19 +01:00
parent 2a0d40aca9
commit 2af9f8529d
27 changed files with 52 additions and 47 deletions

View File

@ -32,16 +32,16 @@
file:
path: "{{ home }}/wireguard-clients"
state: directory
owner: "{{ user }}"
mode: 0700
owner: "{{ me.user }}"
mode: "700"
- name: Wireguard client configuration
template:
src: files/wireguard-client.conf
dest: "{{ home }}/wireguard-clients/{{ item.key }}.conf"
owner: "{{ user }}"
mode: 0600
loop: "{{ wireguard.clients|dict2items }}"
owner: "{{ me.user }}"
mode: "600"
loop: "{{ wireguard.clients | dict2items }}"
loop_control:
label: "{{ item.key }}"