blob: 6f747badae66a2429546b433da77621595be4f7f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
---
- 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
cleanup: true
detach: false
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 59 --dns-ovh-credentials /opt/ovh/credentials.ini -d "dybiec.info,*.dybiec.info"
- file:
path: ~/ovh
state: absent
|