deploy python3 versions of these but dont expect them to work

This commit is contained in:
Stephen Smoogen 2020-05-20 16:14:58 -04:00
parent d6a3774a0d
commit 247c1c761a
2 changed files with 13 additions and 1 deletions

View file

@ -24,7 +24,7 @@
- collectd/base - collectd/base
- mod_wsgi - mod_wsgi
- geoip - geoip
- geoip-city-wsgi/app - { role: geoip-city-wsgi/app, when: ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat' }
- role: easyfix/gather - role: easyfix/gather
when: master_sundries_node|bool when: master_sundries_node|bool
- role: regindexer/build - role: regindexer/build

View file

@ -12,6 +12,18 @@
- python2-iso3166 - python2-iso3166
- python2-geoip2 - python2-geoip2
state: present state: present
when: ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat'
- name: install python3-paste-deploy geolite2-city python3-iso3166 python3-geoip2
package:
name:
- python3-paste-deploy
- geolite2-city
- python3-iso3166
- python3-geoip2
state: present
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat'
- name: install geoip-city-wsgi.conf file - name: install geoip-city-wsgi.conf file
copy: > copy: >