ansible plays for docker, haproxy & varnish

This commit is contained in:
2025-12-28 21:38:13 +01:00
parent c2a04735a4
commit ec0eb23acd
58 changed files with 815 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
---
- apt:
update_cache: true
when: ansible_facts.os_family == "Debian"
- package:
name: "{{ certbot_packages }}"
state: present

View File

@@ -0,0 +1,3 @@
---
- import_tasks: install.yml
- import_tasks: secrets.yml

View File

@@ -0,0 +1,14 @@
---
- file:
path: "{{ certbot_cloudflare_secrets_dir }}"
state: directory
owner: root
group: root
mode: "0700"
- template:
src: cloudflare.ini.j2
dest: "{{ certbot_cloudflare_ini_path }}"
owner: root
group: root
mode: "0600"