diff options
Diffstat (limited to 'certs.yml')
-rw-r--r-- | certs.yml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/certs.yml b/certs.yml index e8a81e0..8f72a8b 100644 --- a/certs.yml +++ b/certs.yml @@ -1,20 +1,20 @@ --- - - name: Certbot - hosts: tamriel - remote_user: ansible_worker - tasks: - - synchronize: - src: ~/.ovh/ - dest: ~/ovh - - docker_container: - image: certbot/dns-ovh - name: certbot-ovh - #auto_remove: true - volumes: - - /etc/letsencrypt:/etc/letsencrypt:rw - - /var/lib/letsencrypt:/var/lib/letsencrypt:rw - - /home/ansible_worker/ovh:/opt/ovh:ro - command: certonly --dns-ovh --dns-ovh-propagation-seconds 60 --dns-ovh-credentials /opt/ovh/credentials.ini -d "dybiec.info,*.dybiec.info" - - file: - path: ~/ovh - state: absent +- name: Certbot + hosts: tamriel + remote_user: ansible_worker + tasks: + - synchronize: + src: ~/.ovh/ + dest: ~/ovh + - docker_container: + image: certbot/dns-ovh + name: certbot-ovh + #auto_remove: true + volumes: + - /etc/letsencrypt:/etc/letsencrypt:rw + - /var/lib/letsencrypt:/var/lib/letsencrypt:rw + - /home/ansible_worker/ovh:/opt/ovh:ro + command: certonly --dns-ovh --dns-ovh-propagation-seconds 60 --dns-ovh-credentials /opt/ovh/credentials.ini -d "dybiec.info,*.dybiec.info" + - file: + path: ~/ovh + state: absent |