From a89e16c44ee6d038e4f4cf435902e66558cc5cf4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 1 Sep 2023 00:26:13 +0200 Subject: sort module args, add missing state args, etc. --- roles/letsencrypt/tasks/certbot.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'roles/letsencrypt/tasks') diff --git a/roles/letsencrypt/tasks/certbot.yml b/roles/letsencrypt/tasks/certbot.yml index 2a7664e..2eeeda5 100644 --- a/roles/letsencrypt/tasks/certbot.yml +++ b/roles/letsencrypt/tasks/certbot.yml @@ -6,13 +6,15 @@ block: - name: Install snapd ansible.builtin.apt: - install_recommends: false name: snapd + state: present + install_recommends: false - name: Install Certbot community.general.snap: - classic: true name: certbot + state: present + classic: true - name: Confirm plugin containment level ansible.builtin.command: snap set certbot trust-plugin-with-root=ok @@ -20,6 +22,7 @@ - name: Install Certbot DigitalOcean plugin community.general.snap: name: certbot-dns-digitalocean + state: present - name: Create Certbot symlink in /usr/bin ansible.builtin.file: -- cgit v1.2.3