people: adjust some things for rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
c3f337e81c
commit
a2a5d2917b
1 changed files with 21 additions and 0 deletions
|
@ -17,10 +17,29 @@
|
||||||
- tree # requested in ticket 5148
|
- tree # requested in ticket 5148
|
||||||
- mod_ssl
|
- mod_ssl
|
||||||
- python36-jinja2 # needed now for make-people-page.py
|
- python36-jinja2 # needed now for make-people-page.py
|
||||||
|
when: inventory_hostname.startswith('people02')
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
- people
|
- people
|
||||||
|
|
||||||
|
#
|
||||||
|
# Install packages needed for fedora people (rhel9)
|
||||||
|
#
|
||||||
|
- name: install packages needed for fedora people
|
||||||
|
package: name={{ item }} state=present
|
||||||
|
with_items:
|
||||||
|
- cvs
|
||||||
|
- git
|
||||||
|
- mercurial
|
||||||
|
- lftp
|
||||||
|
- quota
|
||||||
|
- nano
|
||||||
|
- tree # requested in ticket 5148
|
||||||
|
- mod_ssl
|
||||||
|
when: inventory_hostname.startswith('people01')
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
- people
|
||||||
|
|
||||||
- name: install main httpd config
|
- name: install main httpd config
|
||||||
template: src=people.conf dest=/etc/httpd/conf.d/people.conf
|
template: src=people.conf dest=/etc/httpd/conf.d/people.conf
|
||||||
|
@ -149,6 +168,7 @@
|
||||||
register: gitcontext
|
register: gitcontext
|
||||||
check_mode: no
|
check_mode: no
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
when: inventory_hostname.startswith('people02')
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- selinux
|
- selinux
|
||||||
|
@ -156,6 +176,7 @@
|
||||||
- name: set the SELinux policy for the planet dir
|
- name: set the SELinux policy for the planet dir
|
||||||
command: semanage fcontext -a -t httpd_sys_content_t "/srv/planet(/.*)?"
|
command: semanage fcontext -a -t httpd_sys_content_t "/srv/planet(/.*)?"
|
||||||
when: gitcontext.stdout.find('httpd_sys_content_t') == -1
|
when: gitcontext.stdout.find('httpd_sys_content_t') == -1
|
||||||
|
when: inventory_hostname.startswith('people02')
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- selinux
|
- selinux
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue