git: Convert to CentOS 8 and Apache
* Update git hosts to CentOS 8 * Drop nslscd and use sssd instead * Change nginx to apache for future GSSAPI support * Fix SELinux contexts from git data directory
This commit is contained in:
parent
51aede7c00
commit
58de72e85a
5 changed files with 33 additions and 50 deletions
|
@ -9,6 +9,11 @@
|
|||
- highlight
|
||||
- perl-Digest-MD5
|
||||
|
||||
- name: fix selinux context from data directory
|
||||
sefcontext:
|
||||
path: /export/git(/.*)?
|
||||
setype: git_sys_content_t
|
||||
|
||||
- name: create git directory
|
||||
file:
|
||||
path: /srv/git
|
||||
|
@ -44,11 +49,11 @@
|
|||
- logo.png
|
||||
- gitweb-local.css
|
||||
|
||||
- name: create nginx git config
|
||||
- name: link apache git config
|
||||
copy:
|
||||
dest: /etc/nginx/conf.d/{{ inventory_hostname }}/git.conf
|
||||
dest: /etc/httpd/conf.local.d/git.conf
|
||||
src: git.conf
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: root
|
||||
notify: restart nginx
|
||||
group: "{{ ansible_wheel }}"
|
||||
notify: restart apache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue