2020-12-10 07:33:09 +00:00
|
|
|
---
|
2020-12-12 00:31:23 +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
|
|
|
|
2020-12-18 06:40:14 +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 03:49:57 +00:00
|
|
|
|
2020-12-14 04:04:42 +00:00
|
|
|
- name: reload_chrony
|
2020-12-14 03:49:57 +00:00
|
|
|
systemd:
|
|
|
|
name: "{{ chrony_service_name }}"
|
|
|
|
state: restarted
|
|
|
|
listen: "chrony service restart"
|
2020-12-18 06:40:14 +00:00
|
|
|
|
|
|
|
- name: restart_gitlab
|
|
|
|
command: gitlab-ctl reconfigure
|
|
|
|
register: gitlab_restart
|
|
|
|
failed_when: gitlab_restart_handler_failed_when | bool
|