Separate out python2 and python3 fedmsg hosts.
This commit is contained in:
parent
669210596c
commit
d8f09def3d
2 changed files with 16 additions and 1 deletions
|
@ -750,6 +750,11 @@ fedmsg-relays-stg
|
|||
fedmsg-gateways-stg
|
||||
moksha-hubs-stg
|
||||
|
||||
# These are groups that are using the python34 fedmsg stack.
|
||||
[python34-fedmsg:children]
|
||||
mailman
|
||||
mailman-stg
|
||||
|
||||
## END fedmsg services
|
||||
|
||||
[cloud-hardware]
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
- name: install needed packages
|
||||
yum: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- fedmsg
|
||||
- libsemanage-python
|
||||
- python-psutil
|
||||
- policycoreutils-python # This is in the kickstart now. Here for old hosts.
|
||||
|
@ -13,6 +12,17 @@
|
|||
- packages
|
||||
- fedmsg/base
|
||||
|
||||
- name: install python2 fedmsg package
|
||||
yum: pkg=fedmsg state=present
|
||||
when: 'python34-fedmsg' not in groups
|
||||
tags: fedmsg/base
|
||||
|
||||
- name: install the python34 fedmsg package
|
||||
yum: pkg=python34-fedmsg-core state=present
|
||||
when: 'python34-fedmsg' in groups
|
||||
tags: fedmsg/base
|
||||
|
||||
|
||||
# We only need this on el6. On el7, the fedmsg package uses systemd-tempfiles
|
||||
# to generate this effect for us. Note that at the bottom of this role we add
|
||||
# the nrpe user to the fedmsg group so that it has *write* permissions to a unix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue