ansible-role-sso/handlers/main.yml

75 lines
1.6 KiB
YAML

---
- name: Restart HAProxy
service:
name: haproxy
state: restarted
become: true
when: not install_only
- name: Restart cadoles-pod-hydra-v1
service:
name: cadoles-pod-hydra-v1
state: restarted
become: true
when: not install_only
- name: Restart cadoles-pod-hydra-dispatcher-v1
service:
name: cadoles-pod-hydra-dispatcher-v1
state: restarted
become: true
when: not install_only
- name: Restart cadoles-pod-hydra-passwordless-v1
service:
name: cadoles-pod-hydra-passwordless-v1
state: restarted
become: true
when: not install_only
- name: Restart cadoles-pod-hydra-remote-user-v1
service:
name: cadoles-pod-hydra-remote-user-v1
state: restarted
become: true
when: not install_only
- name: Restart cadoles-pod-shibboleth-sp-v3
service:
name: cadoles-pod-shibboleth-sp-v3
state: restarted
become: true
when: not install_only
- name: Restart cadoles-pod-hydra-oidc-v1
service:
name: cadoles-pod-hydra-oidc-v1
state: restarted
become: true
- name: Restart cadoles-pod-hydra-ldap-v1
service:
name: cadoles-pod-hydra-ldap-v1
state: restarted
become: true
when: not install_only
- name: Restart cadoles-pod-hydra-webauthn-v1
service:
name: cadoles-pod-hydra-webauthn-v1
state: restarted
become: true
when: not install_only
- name: Restart cadoles-pod-goweb-oidc-v1
service:
name: cadoles-pod-goweb-oidc-v1
state: restarted
become: true
when: not install_only
- name: Reload hydra clients
ansible.builtin.include_tasks:
file: hydra-reload-clients.yml
when: not install_only