2013-06-04 20:06:14 +00:00
|
|
|
---
|
|
|
|
# install mod_wsgi
|
|
|
|
- name: install mod_wsgi
|
2014-10-29 09:08:40 +05:30
|
|
|
yum: name=mod_wsgi state=present
|
2013-06-04 20:06:14 +00:00
|
|
|
tags:
|
|
|
|
- packages
|
2015-11-09 17:58:55 +00:00
|
|
|
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
|
2013-06-04 20:06:14 +00:00
|
|
|
|
|
|
|
- name: wsgi.conf
|
2014-01-01 19:15:11 +00:00
|
|
|
copy: src="{{ files }}/mod_wsgi/wsgi.conf" dest=/etc/httpd/conf.d/wsgi.conf
|
2013-06-04 20:06:14 +00:00
|
|
|
notify:
|
|
|
|
- restart apache
|
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
|
|
|
|
|