blob: d31a956aa2d2ece6e31d09d5f282536e814a68ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
- name: reload systemd
systemd:
daemon_reload: yes
- name: reload services for x509 certificates
loop: "{{ x509_certificate_reload_services | default([]) }}"
loop_control:
loop_var: x509_certificate_reload_service
service:
name: "{{ x509_certificate_reload_service }}"
state: reloaded
- name: restart services for x509 certificates
loop: "{{ x509_certificate_restart_services | default([]) }}"
loop_control:
loop_var: x509_certificate_restart_service
service:
name: "{{ x509_certificate_restart_service }}"
state: restarted
|