Another dnf/yum one here.
This commit is contained in:
parent
90df49dff3
commit
213ff05f06
1 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,13 @@
|
||||||
yum: name=mod_wsgi state=present
|
yum: name=mod_wsgi state=present
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
when: ansible_distribution_major_version|int < 22
|
||||||
|
|
||||||
|
- name: install mod_wsgi
|
||||||
|
dnf: name=mod_wsgi state=present
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
when: ansible_distribution_major_version|int > 21
|
||||||
|
|
||||||
- name: wsgi.conf
|
- name: wsgi.conf
|
||||||
copy: src="{{ files }}/mod_wsgi/wsgi.conf" dest=/etc/httpd/conf.d/wsgi.conf
|
copy: src="{{ files }}/mod_wsgi/wsgi.conf" dest=/etc/httpd/conf.d/wsgi.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue