mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 08:30:46 +02:00
28 lines
842 B
YAML
28 lines
842 B
YAML
- block:
|
|
- include_tasks: 01_core.yml
|
|
- set_fact:
|
|
run_once_srv_proxy_6_6_tls_deploy: true
|
|
when: run_once_srv_proxy_6_6_tls_deploy is not defined
|
|
|
|
- name: "create {{cert_mount_directory}}"
|
|
file:
|
|
path: "{{cert_mount_directory}}"
|
|
state: directory
|
|
mode: "0755"
|
|
notify: restart srv-proxy-6-6-tls-deploy service
|
|
|
|
- name: configure srv-proxy-6-6-tls-deploy service
|
|
template:
|
|
src: "srv-proxy-6-6-tls-deploy.service.j2"
|
|
dest: "/etc/systemd/system/srv-proxy-6-6-tls-deploy.{{application_id}}{{ SYS_SERVICE_SUFFIX }}"
|
|
notify: restart srv-proxy-6-6-tls-deploy service
|
|
|
|
- name: "include role for sys-timer for {{service_name}}"
|
|
include_role:
|
|
name: sys-timer
|
|
vars:
|
|
on_calendar: "{{on_calendar_deploy_certificates}}"
|
|
service_name: "srv-proxy-6-6-tls-deploy.{{application_id}}"
|
|
persistent: "true"
|
|
|