Prepare services for lego certificate service

This commit is contained in:
Tobias Reisinger 2023-12-20 01:29:53 +01:00
parent 6c6ade1b9a
commit da5d6eef8c
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 28 additions and 9 deletions
roles/acme_dns/tasks

View file

@ -26,6 +26,12 @@
src: config.cfg.j2
dest: "{{ (config_path, 'config.cfg') | path_join }}"
mode: "0600"
register: cmd_result
- name: Set the docker force-recreate flag
ansible.builtin.set_fact:
docker_force_recreate: --force-recreate
when: cmd_result.changed # noqa: no-handler We need to handle the restart per service. Handlers don't support variables.
- name: Import start tasks for common service
ansible.builtin.import_tasks: tasks/start-common-service.yml