Skip to content
Snippets Groups Projects
Commit 5e123ca8 authored by Lars Beckers's avatar Lars Beckers
Browse files

lint yaml files

parent 19bd16ea
Branches
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@
mode: '0755'
notify:
- reload systemd service files
when: 'nginx-proxy' in acmetool_services
when: "'nginx-proxy' in acmetool_services"
tags:
- acmetool
- services
......@@ -70,7 +70,7 @@
mode: '0644'
notify:
- reload systemd service files
when: 'nginx-proxy' in acmetool_services
when: "'nginx-proxy' in acmetool_services"
tags:
- acmetool
- services
......@@ -103,6 +103,7 @@
file:
path: "/var/lib/acme/desired/{{item}}"
state: absent
# yamllint disable-line rule:line-length
loop: "{{active_certificates.files|map(attribute='path')|map('basename')|difference(acmetool_certificates|map(attribute='hostnames')|map('first'))|list}}"
loop_control:
label: "{{item}}"
......
......@@ -17,7 +17,7 @@
dest: /etc/rssh.conf
owner: root
group: root
mode: 0644
mode: '0644'
tags:
- debian-repository
- rssh
......@@ -51,7 +51,7 @@
state: directory
owner: repo
group: repo
mode: 0755
mode: '0755'
tags:
- debian-repository
- webservices
......@@ -62,7 +62,7 @@
dest: /srv/repo/.ssh/authorized_keys
owner: repo
group: repo
mode: 0644
mode: '0644'
tags:
- debian-repository
- webservices
......@@ -64,6 +64,7 @@
file:
path: "/etc/nginx/sites-enabled/{{item}}.conf"
state: absent
# yamllint disable-line rule:line-length
loop: "{{activated_sites.files|map(attribute='path')|map('basename')|map('splitext')|map('first')|difference(webservers|selectattr('enabled')|map(attribute='name'))|list}}"
loop_control:
label: "{{item}}"
......@@ -125,6 +126,7 @@
file:
path: "/etc/nginx/proxy-sites-enabled/{{item}}.conf"
state: absent
# yamllint disable-line rule:line-length
loop: "{{activated_proxy_sites.files|map(attribute='path')|map('basename')|map('splitext')|map('first')|difference(webservers|selectattr('enabled')|map(attribute='name'))|list}}"
loop_control:
label: "{{item}}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment