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
|
||||
- mod_ssl
|
||||
- python36-jinja2 # needed now for make-people-page.py
|
||||
when: inventory_hostname.startswith('people02')
|
||||
tags:
|
||||
- packages
|
||||
- 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
|
||||
template: src=people.conf dest=/etc/httpd/conf.d/people.conf
|
||||
|
@ -149,6 +168,7 @@
|
|||
register: gitcontext
|
||||
check_mode: no
|
||||
changed_when: false
|
||||
when: inventory_hostname.startswith('people02')
|
||||
tags:
|
||||
- config
|
||||
- selinux
|
||||
|
@ -156,6 +176,7 @@
|
|||
- name: set the SELinux policy for the planet dir
|
||||
command: semanage fcontext -a -t httpd_sys_content_t "/srv/planet(/.*)?"
|
||||
when: gitcontext.stdout.find('httpd_sys_content_t') == -1
|
||||
when: inventory_hostname.startswith('people02')
|
||||
tags:
|
||||
- config
|
||||
- selinux
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue