Fix new ansible-lint errors
Quite a few changes here, hopefully they work!
This commit is contained in:
@ -6,9 +6,9 @@ maxretry = 100
|
||||
filter = nginx-tcp
|
||||
logpath = /var/log/nginx/ips.log
|
||||
port = http,https,8448
|
||||
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ hosts.values()|sort|join(",") }}
|
||||
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ vps_hosts.values()|sort|join(",") }}
|
||||
|
||||
[traefik]
|
||||
enabled = true
|
||||
port = http,https,8448
|
||||
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ hosts.values()|sort|join(",") }}
|
||||
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ vps_hosts.values()|sort|join(",") }}
|
||||
|
@ -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 }}"
|
||||
|
||||
|
Reference in New Issue
Block a user