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:
parent
76c562df3f
commit
129de273e9
2 changed files with 0 additions and 45 deletions
|
@ -29,7 +29,6 @@
|
||||||
passno=0
|
passno=0
|
||||||
dump=0
|
dump=0
|
||||||
state=mounted
|
state=mounted
|
||||||
when: inventory_hostname.startswith('people01')
|
|
||||||
tags:
|
tags:
|
||||||
- mount
|
- mount
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@
|
||||||
passno=0
|
passno=0
|
||||||
dump=0
|
dump=0
|
||||||
state=mounted
|
state=mounted
|
||||||
when: inventory_hostname.startswith('people01')
|
|
||||||
tags:
|
tags:
|
||||||
- mount
|
- mount
|
||||||
|
|
||||||
|
|
|
@ -2,29 +2,6 @@
|
||||||
#
|
#
|
||||||
# Install packages needed for fedora people
|
# 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
|
- name: install packages needed for fedora people
|
||||||
package: name={{ item }} state=present
|
package: name={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -36,7 +13,6 @@
|
||||||
- nano
|
- nano
|
||||||
- tree # requested in ticket 5148
|
- tree # requested in ticket 5148
|
||||||
- mod_ssl
|
- mod_ssl
|
||||||
when: inventory_hostname.startswith('people01')
|
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
- people
|
- people
|
||||||
|
@ -163,25 +139,6 @@
|
||||||
- config
|
- config
|
||||||
- selinux
|
- 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
|
# This is a file context alias, to let ansible know that /home and /srv/home
|
||||||
# are equal as far as contexts are concerned.
|
# are equal as far as contexts are concerned.
|
||||||
- name: check the selinux context alias of the home dir
|
- name: check the selinux context alias of the home dir
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue