diff --git a/roles/certbot/defaults/main.yaml b/roles/certbot/defaults/main.yaml index d5e00bb..223f3e8 100644 --- a/roles/certbot/defaults/main.yaml +++ b/roles/certbot/defaults/main.yaml @@ -1,2 +1,2 @@ --- - webserver_name: nginx +webserver_name: nginx diff --git a/roles/certbot/tasks/main.yaml b/roles/certbot/tasks/main.yaml index 2c0e091..95f1b26 100644 --- a/roles/certbot/tasks/main.yaml +++ b/roles/certbot/tasks/main.yaml @@ -1,8 +1,9 @@ +--- - name: install certbot apt: name: "{{ item }}" state: present - update_cache: yes + update_cache: true cache_valid_time: 3600 with_items: - certbot