mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-27 23:46:28 +00:00
fcdf86b31c
This commit appends the README.md to state that yaml files should start with `---` and end with `...`. This also addresses some linting warnings that were not appearing during pre-commit on local system.
49 lines
859 B
YAML
49 lines
859 B
YAML
---
|
|
- name: restart_sshd
|
|
service:
|
|
name: sshd
|
|
state: restarted
|
|
|
|
- name: restart_httpd
|
|
service:
|
|
name: httpd
|
|
state: restarted
|
|
|
|
- name: restart_nginx
|
|
service:
|
|
name: nginx
|
|
state: restarted
|
|
|
|
- name: reload_networkmanager
|
|
service:
|
|
name: NetworkManager
|
|
state: reloaded
|
|
|
|
- name: regenerate_auditd_rules
|
|
command: /sbin/augenrules
|
|
|
|
- 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
|
|
|
|
- name: restart_noggin
|
|
service:
|
|
name: noggin
|
|
state: restarted
|
|
|
|
- name: rehash_postfix_sasl
|
|
command: "postmap /etc/postfix/sasl_passwd"
|
|
|
|
- name: restart_postfix
|
|
service:
|
|
name: postfix
|
|
state: restarted
|
|
...
|