netz39-infra-ansible/roles/apache_letsencrypt/tasks/main.yml
Alexander Dahl 8b2ab7753d 🚨 Fix linter warnings of type 'name[casing]'
ansible-lint reads like this:

    name[casing]: All names should start with an uppercase letter.

While at it: Some task/handler names were slightly adapted to better
match what should be done.
2025-03-01 21:21:22 +01:00

20 lines
607 B
YAML

# Tasks for role apache_letsencrypt
---
- name: Create configuration for access to dehydrated location
ansible.builtin.template:
src: templates/letsencrypt-directory.conf.j2
dest: /etc/apache2/conf-available/letsencrypt-directory.conf
mode: "0644"
owner: root
group: root
notify: Restart apache2
- name: Add symlink to enable configuration
ansible.builtin.file:
src: /etc/apache2/conf-available/letsencrypt-directory.conf
dest: /etc/apache2/conf-enabled/letsencrypt-directory.conf
state: link
mode: "0644"
owner: root
group: root
notify: Restart apache2