Compare commits
6 commits
9aeedc3e78
...
5787a9d792
| Author | SHA1 | Date | |
|---|---|---|---|
|
5787a9d792 |
|||
|
4f2d0ad75b |
|||
|
1f339db312 |
|||
|
c5951647cf |
|||
|
20b24f6df7 |
|||
|
447e87961b |
12 changed files with 12 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["ansible_pull"]
|
||||
name: ensure dependencies are installed
|
||||
block:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["certbot"]
|
||||
name: ensure certbot installation
|
||||
ansible.builtin.import_tasks:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["certbot", "certbot-cert"]
|
||||
name: get expiry date before
|
||||
ansible.builtin.command: /usr/bin/openssl x509 -enddate -noout -in /etc/letsencrypt/live/{{ item.commonName }}/fullchain.pem
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["certbot", "certbot-cert"]
|
||||
name: obtain http-01 challenge certificates
|
||||
loop: "{{ certbot__certificate_domains }}"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["certbot", "certbot-http-01-cert"]
|
||||
name: get expiry date before
|
||||
ansible.builtin.command: /usr/bin/openssl x509 -enddate -noout -in /etc/letsencrypt/live/{{ item }}/fullchain.pem
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["certbot", "certbot-install"]
|
||||
name: ensure relevant packages are installed
|
||||
ansible.builtin.apt:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["certbot", "certbot-new_cert_commands"]
|
||||
name: ensure existence of renewal deploy hooks directory
|
||||
ansible.builtin.file:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["certbot", "certbot-validate_cert"]
|
||||
name: validate dns-01-acme-dns challenge type config
|
||||
when: item.challengeType == "dns-01-acme-dns"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["docker_compose"]
|
||||
name: docker compose down
|
||||
community.docker.docker_compose_v2:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["docker_compose"]
|
||||
name: make sure the `/ansible_docker_compose` directory exists
|
||||
ansible.builtin.file:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["infrastructure_authorized_keys"]
|
||||
name: deploy infrastructure authorized keys
|
||||
ansible.posix.authorized_key:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- tags: ["msmtp"]
|
||||
name: ensure msmtp is installed
|
||||
ansible.builtin.apt:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue