missed a conditional change for dnf/yum in execdb

This commit is contained in:
Tim Flink 2016-01-26 17:01:05 +00:00
parent 6bc0574521
commit ca6f172b87

View file

@ -1,12 +1,12 @@
---
- name: ensure packages required for execdb are installed (yum)
yum: name={{ item }} state=present
when: deployment_type == 'prod' or deployment_type == 'local'
with_items:
- execdb
- mod_wsgi
- python-psycopg2
- libsemanage-python
when: ansible_distribution_major_version|int < 22
- name: ensure packages required for execdb are installed (dnf)
dnf: name={{ item }} state=present enablerepo={{ extra_enablerepos }}