summaryrefslogtreecommitdiffstats
path: root/roles/taskotron/execdb/tasks
diff options
context:
space:
mode:
authorTim Flink <tflink@fedoraproject.org>2016-01-26 17:01:05 +0000
committerTim Flink <tflink@fedoraproject.org>2016-01-26 17:01:05 +0000
commitca6f172b87211632c20025a54e33c97224158dca (patch)
tree89c76a53965b6217de248d03474b258295cee738 /roles/taskotron/execdb/tasks
parent6bc05745216d4680d9a883f9e390aa4926ffb2d9 (diff)
downloadansible-ca6f172b87211632c20025a54e33c97224158dca.tar.gz
ansible-ca6f172b87211632c20025a54e33c97224158dca.tar.xz
ansible-ca6f172b87211632c20025a54e33c97224158dca.zip
missed a conditional change for dnf/yum in execdb
Diffstat (limited to 'roles/taskotron/execdb/tasks')
-rw-r--r--roles/taskotron/execdb/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/taskotron/execdb/tasks/main.yml b/roles/taskotron/execdb/tasks/main.yml
index 6b930ffed..eb9814b28 100644
--- a/roles/taskotron/execdb/tasks/main.yml
+++ b/roles/taskotron/execdb/tasks/main.yml
@@ -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 }}