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

49 lines
859 B
YAML
Raw Permalink 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
2021-01-24 19:00:38 +00:00
- name: rehash_postfix_sasl
command: "postmap /etc/postfix/sasl_passwd"
- name: restart_postfix
service:
name: postfix
state: restarted
...