Add Fedora Python 3 Docker images and fix tests. (#27794)

* Add new Fedora docker images with Python 3.
* Use consistent env var for lookup test.
* Fix testing of virtualenv with Python 3.
* Fix docker_secret tests on Fedora 26.
* Add Python 3 support to Fedora postgresql test.
* Add Python 3 support to Fedora mysql tests.
* Fix uri test server for Python 3 on Fedora.
* Fix iso_extract test for Python 3 on Fedora.
* Add Python 3 support for Fedora to openssl tests.
* Fix dnf group test for Python 3 on Fedora.
* Use force with user deletion in become test.
This commit is contained in:
Matt Clay 2017-08-04 21:12:35 -07:00 committed by GitHub
commit c59e32469f
12 changed files with 189 additions and 22 deletions

View file

@ -29,13 +29,20 @@
state: present
when: ansible_distribution in ['CentOS']
- name: Install 7zip package if we are on Fedora or CentOS
- name: Install 7zip package if we are on Fedora
dnf:
name: p7zip-plugins
state: installed
become: yes
when: ansible_distribution in ['Fedora']
- name: Install 7zip package if we are on CentOS
yum:
name: p7zip-plugins
state: installed
update_cache: yes
become: yes
when: ansible_distribution in ['Fedora', 'CentOS']
when: ansible_distribution in ['CentOS']
- name: Install 7zip package if we are on OpenSUSE
zypper: