ansible lint fixes -- hopefully all are fixed now

This commit is contained in:
brunobenchimol
2021-11-15 20:36:54 -03:00
parent e7464e62aa
commit 2548d4f32b
6 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -27,7 +27,7 @@
- name: "Create DNS RFC {{ certbot_dns_plugin }} Credentials File."
template:
src: dns_plugin_credentials.j2
dest: "{{certbot_dns_credentials_file}}"
dest: "{{ certbot_dns_credentials_file }}"
owner: root
group: root
mode: 0600
@@ -45,7 +45,7 @@
when:
- certbot_dns_plugin != 'rfc2136'
- certbot_dns_credentials_custom_file is defined
- name: Generate new certificate if one doesn't exist.
command: "{{ certbot_dns_create_command }}"
when: not letsencrypt_cert.stat.exists
+2 -2
View File
@@ -6,7 +6,7 @@
- name: Delete Certificate
command: "{{ certbot_delete_command }}"
when:
when:
- letsencrypt_cert.stat.exists
- certbot_delete_certificate|bool
@@ -14,7 +14,7 @@
file:
path: /etc/letsencrypt/live/{{ cert_item.domains | first | replace('*.', '') }}
state: absent
when:
when:
- letsencrypt_cert.stat.exists
- certbot_delete_certificate|bool
+2 -2
View File
@@ -37,12 +37,12 @@
- name: Make sure certbot Trust Plugins With Root is set.
command: snap set certbot trust-plugin-with-root=ok
when:
when:
- certbot_dns_plugin is defined
- name: Install DNS Plugin - {{ certbot_dns_plugin }}.
snap:
name: "certbot-dns-{{certbot_dns_plugin}}"
name: "certbot-dns-{{ certbot_dns_plugin }}"
classic: true
when: certbot_dns_plugin is defined
+1 -1
View File
@@ -39,5 +39,5 @@
loop_var: cert_item
- import_tasks: renew-cron.yml
when:
when:
- certbot_auto_renew