mono-infrastructure/ansible/playbooks/handlers/main.yml

40 lines
705 B
YAML
Raw Normal View History

2020-12-10 07:33:09 +00:00
---
- name: restart_sshd
2020-12-10 07:33:09 +00:00
service:
name: sshd
state: restarted
- name: restart_httpd
service:
name: httpd
state: restarted
2020-12-10 08:43:19 +00:00
- name: restart_nginx
service:
name: nginx
state: restarted
2020-12-10 08:43:19 +00:00
- name: reload_networkmanager
service:
name: NetworkManager
state: reloaded
2020-12-10 23:40:49 +00:00
- name: regenerate_auditd_rules
command: /sbin/augenrules
2020-12-14 04:04:42 +00:00
- name: reload_chrony
systemd:
name: "{{ chrony_service_name }}"
state: restarted
listen: "chrony service restart"
- name: restart_gitlab
command: gitlab-ctl reconfigure
register: gitlab_restart
failed_when: gitlab_restart_handler_failed_when | bool
2021-01-18 06:34:42 +00:00
- name: restart_noggin
service:
name: noggin
state: restarted