mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-16 10:41:24 +00:00
c6323199f4
In this push, we are making a decent amount of updates to the gitlab playbooks as well as updating the README. See below for the changes: * README updated for further clarity * GitLab role with further reconfiguration for group lookups * GitLab role with further reconfiguration to disable built-in nginx * nginx configuration added and provided to work with omnibus * GitLab variables updated
35 lines
632 B
YAML
35 lines
632 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
|