Remove remnants of people01/02 distinction

Since people02 is gone, all the special cases aren’t necessary anymore.

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2024-07-10 19:26:07 +02:00
parent 76c562df3f
commit 129de273e9
2 changed files with 0 additions and 45 deletions

View file

@ -29,7 +29,6 @@
passno=0
dump=0
state=mounted
when: inventory_hostname.startswith('people01')
tags:
- mount
@ -42,7 +41,6 @@
passno=0
dump=0
state=mounted
when: inventory_hostname.startswith('people01')
tags:
- mount

View file

@ -2,29 +2,6 @@
#
# Install packages needed for fedora people
#
- name: install packages needed for fedora people
package: name={{ item }} state=present
with_items:
- cvs
- git
- bzr
- mercurial
- lftp
- quota
- nano
- pyliblzma
- libxml2-python
- 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:
@ -36,7 +13,6 @@
- nano
- tree # requested in ticket 5148
- mod_ssl
when: inventory_hostname.startswith('people01')
tags:
- packages
- people
@ -163,25 +139,6 @@
- config
- selinux
- name: check the selinux context of the planet dir
command: matchpathcon "/srv/planet"
register: gitcontext
check_mode: no
changed_when: false
when: inventory_hostname.startswith('people02')
tags:
- config
- selinux
- 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
and inventory_hostname.startswith('people02')
tags:
- config
- selinux
# This is a file context alias, to let ansible know that /home and /srv/home
# are equal as far as contexts are concerned.
- name: check the selinux context alias of the home dir