Try and fix mdapi playbook

This commit is contained in:
Kevin Fenzi 2015-11-19 02:37:39 +00:00
parent a8668853b4
commit fa76588aa3
2 changed files with 9 additions and 2 deletions

View file

@ -869,6 +869,8 @@ moksha-hubs-stg
[python34-fedmsg:children]
mailman
mailman-stg
mdapi
mdapi-stg
## END fedmsg services

View file

@ -18,9 +18,14 @@
when: "'python34-fedmsg' not in group_names"
tags: fedmsg/base
- name: install the python34 fedmsg package
- name: install the python34 fedmsg package (yum)
yum: pkg=python34-fedmsg-core state=present
when: "'python34-fedmsg' in group_names"
when: "'python34-fedmsg' in group_names" and ansible_distribution_major_version|int < 22
tags: fedmsg/base
- name: install the python34 fedmsg package (dnf)
dnf: pkg=python34-fedmsg-core state=present
when: "'python34-fedmsg' in group_names" and ansible_distribution_major_version|int > 21
tags: fedmsg/base
- name: install needed packages