Skip to content
Snippets Groups Projects
Verified Commit 50ce629c authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Make linter happy

parent 59e7676a
No related branches found
No related tags found
No related merge requests found
Pipeline #2359 failed
......@@ -21,6 +21,7 @@
- name: store the pubkey in facts
set_fact:
# yamllint disable-line rule:line-length
wireguard_pubkeys: "{{dict(pubkeys.results|map(attribute='item')|map(attribute='key') | zip(pubkeys.results|map(attribute='content')|map('b64decode')|map('trim')))}}"
cacheable: true
......@@ -30,7 +31,7 @@
dest: /etc/wireguard/{{item.key}}.conf
owner: root
group: root
mode: 0600
mode: '0600'
with_dict: "{{wireguard_interfaces}}"
notify:
- restart wireguard
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment