Skip to content
Snippets Groups Projects
Verified Commit f4c3ad04 authored by Chris Croome's avatar Chris Croome
Browse files

Default to an empty list for apache_md_cert_copy

parent 0f5dae77
No related branches found
No related tags found
No related merge requests found
Pipeline #36769 passed
......@@ -40,14 +40,14 @@ stages:
- trixie
- bookworm
trixie:
image: registry.git.coop/webarch/containers/images/trixie:20250113
image: registry.git.coop/webarch/containers/images/trixie:20250213
stage: trixie
script:
- pre-commit install
- pre-commit run --all-files
- molecule test --all
bookworm:
image: registry.git.coop/webarch/containers/images/bookworm:20250113
image: registry.git.coop/webarch/containers/images/bookworm:20250213
stage: bookworm
script:
- pre-commit install
......
......@@ -25,7 +25,7 @@ repos:
- templates
# https://github.com/jackdewinter/pymarkdown/releases
- repo: https://github.com/jackdewinter/pymarkdown.git
rev: v0.9.27
rev: v0.9.28
hooks:
- id: pymarkdown
name: Markdown Lint
......
......@@ -184,51 +184,56 @@ apache_mods_disabled: []
# - usertrack
# - vhost_alias
# - xml2enc
apache_md_cert_copy:
# Copy the mod_md key pair for Exim4
- name: exim4
restart: true
pkgs:
- exim4-config
- exim4-daemon-light
privkey:
src: "/etc/apache2/md/domains/{{ inventory_hostname }}/privkey.secp384r1.pem"
dest: /etc/exim4/exim.key
owner: Debian-exim
group: ssl-cert
mode: "0640"
pubcert:
src: "/etc/apache2/md/domains/{{ inventory_hostname }}/pubcert.secp384r1.pem"
dest: /etc/exim4/exim.crt
owner: Debian-exim
group: ssl-cert
mode: "0640"
special_time: daily
# Copy the mod_md key pair for Authentik
# - name: docker
# restart: false
# dirs:
# - path: "/home/authentik/authentik/certs/{{ inventory_hostname }}"
# owner: authentik
# group: authentik
# mode: "0750"
# pkgs:
# - docker-ce
# - docker-ce-cli
# - docker-compose-plugin
# privkey:
# src: "/etc/apache2/md/domains/{{ inventory_hostname }}/privkey.secp384r1.pem"
# dest: "/home/authentik/authentik/certs/{{ inventory_hostname }}/privkey.pem"
# owner: authentik
# group: authentik
# mode: "0640"
# pubcert:
# src: "/etc/apache2/md/domains/{{ inventory_hostname }}/pubcert.secp384r1.pem"
# dest: "/home/authentik/authentik/certs/{{ inventory_hostname }}/fullchain.pem"
# owner: authentik
# group: authentik
# mode: "0640"
# special_time: daily
apache_md_cert_copy: []
# apache_md_cert_copy is an empty list by default as when Apache is first
# installed cert's won't exist so the tasks to copy the certs will fail. In
# addition the paths for the Apache MD verts might well need adjusting for each
# server.
# apache_md_cert_copy:
# # Copy the mod_md key pair for Exim4
# - name: exim4
# restart: true
# pkgs:
# - exim4-config
# - exim4-daemon-light
# privkey:
# src: "/etc/apache2/md/domains/{{ inventory_hostname }}/privkey.secp384r1.pem"
# dest: /etc/exim4/exim.key
# owner: Debian-exim
# group: ssl-cert
# mode: "0640"
# pubcert:
# src: "/etc/apache2/md/domains/{{ inventory_hostname }}/pubcert.secp384r1.pem"
# dest: /etc/exim4/exim.crt
# owner: Debian-exim
# group: ssl-cert
# mode: "0640"
# special_time: daily
# # Copy the mod_md key pair for Authentik
# # - name: docker
# # restart: false
# # dirs:
# # - path: "/home/authentik/authentik/certs/{{ inventory_hostname }}"
# # owner: authentik
# # group: authentik
# # mode: "0750"
# # pkgs:
# # - docker-ce
# # - docker-ce-cli
# # - docker-compose-plugin
# # privkey:
# # src: "/etc/apache2/md/domains/{{ inventory_hostname }}/privkey.secp384r1.pem"
# # dest: "/home/authentik/authentik/certs/{{ inventory_hostname }}/privkey.pem"
# # owner: authentik
# # group: authentik
# # mode: "0640"
# # pubcert:
# # src: "/etc/apache2/md/domains/{{ inventory_hostname }}/pubcert.secp384r1.pem"
# # dest: "/home/authentik/authentik/certs/{{ inventory_hostname }}/fullchain.pem"
# # owner: authentik
# # group: authentik
# # mode: "0640"
# # special_time: daily
# See this issue https://github.com/icing/mod_md/issues/260
apache_md_private_keys:
- rsa3072
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment