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"]
|
- tags: ["ansible_pull"]
|
||||||
name: ensure dependencies are installed
|
name: ensure dependencies are installed
|
||||||
block:
|
block:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- tags: ["certbot"]
|
- tags: ["certbot"]
|
||||||
name: ensure certbot installation
|
name: ensure certbot installation
|
||||||
ansible.builtin.import_tasks:
|
ansible.builtin.import_tasks:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- tags: ["certbot", "certbot-cert"]
|
- tags: ["certbot", "certbot-cert"]
|
||||||
name: get expiry date before
|
name: get expiry date before
|
||||||
ansible.builtin.command: /usr/bin/openssl x509 -enddate -noout -in /etc/letsencrypt/live/{{ item.commonName }}/fullchain.pem
|
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"]
|
- tags: ["certbot", "certbot-cert"]
|
||||||
name: obtain http-01 challenge certificates
|
name: obtain http-01 challenge certificates
|
||||||
loop: "{{ certbot__certificate_domains }}"
|
loop: "{{ certbot__certificate_domains }}"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- tags: ["certbot", "certbot-http-01-cert"]
|
- tags: ["certbot", "certbot-http-01-cert"]
|
||||||
name: get expiry date before
|
name: get expiry date before
|
||||||
ansible.builtin.command: /usr/bin/openssl x509 -enddate -noout -in /etc/letsencrypt/live/{{ item }}/fullchain.pem
|
ansible.builtin.command: /usr/bin/openssl x509 -enddate -noout -in /etc/letsencrypt/live/{{ item }}/fullchain.pem
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- tags: ["certbot", "certbot-install"]
|
- tags: ["certbot", "certbot-install"]
|
||||||
name: ensure relevant packages are installed
|
name: ensure relevant packages are installed
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- tags: ["certbot", "certbot-new_cert_commands"]
|
- tags: ["certbot", "certbot-new_cert_commands"]
|
||||||
name: ensure existence of renewal deploy hooks directory
|
name: ensure existence of renewal deploy hooks directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- tags: ["certbot", "certbot-validate_cert"]
|
- tags: ["certbot", "certbot-validate_cert"]
|
||||||
name: validate dns-01-acme-dns challenge type config
|
name: validate dns-01-acme-dns challenge type config
|
||||||
when: item.challengeType == "dns-01-acme-dns"
|
when: item.challengeType == "dns-01-acme-dns"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- tags: ["docker_compose"]
|
- tags: ["docker_compose"]
|
||||||
name: docker compose down
|
name: docker compose down
|
||||||
community.docker.docker_compose_v2:
|
community.docker.docker_compose_v2:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- tags: ["docker_compose"]
|
- tags: ["docker_compose"]
|
||||||
name: make sure the `/ansible_docker_compose` directory exists
|
name: make sure the `/ansible_docker_compose` directory exists
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- tags: ["infrastructure_authorized_keys"]
|
- tags: ["infrastructure_authorized_keys"]
|
||||||
name: deploy infrastructure authorized keys
|
name: deploy infrastructure authorized keys
|
||||||
ansible.posix.authorized_key:
|
ansible.posix.authorized_key:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- tags: ["msmtp"]
|
- tags: ["msmtp"]
|
||||||
name: ensure msmtp is installed
|
name: ensure msmtp is installed
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue