Python3 changes for Ubuntu

* Remove definitions for ubuntu 15.04 and 15.10
* Changed binary packages to the python3 package names.
* Removed python-configparser as it is no longer required

Change-Id: I8f102bb6ea6238a7f5a638b89f01dc16852fc741
This commit is contained in:
Julia Kreger 2020-01-02 16:17:41 -08:00
parent 781a132d3d
commit 31b552c511
10 changed files with 19 additions and 41 deletions

View File

@ -20,7 +20,7 @@ Installation and use of bifrost is split into roughly three steps:
Supported operating systems:
* Ubuntu 14.04, 14.10, 15.04, 16.04
* Ubuntu 16.04, 18.04
* Red Hat Enterprise Linux (RHEL) 7
* CentOS 7
* Fedora 22

View File

@ -1,4 +0,0 @@
---
init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service

View File

@ -1,4 +0,0 @@
---
init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service

View File

@ -4,9 +4,10 @@ init_dest_dir: /lib/systemd/system/
init_ext: .service
required_packages:
- mariadb-server
- python-dev
- python-mysqldb
- python-configparser
- python3-dev
- python3-mysqldb
- python3-pymysql
- python3-setuptools
- libffi-dev
- libxslt1-dev
- libssl-dev
@ -25,12 +26,9 @@ required_packages:
- genisoimage
- kpartx
- qemu-utils
- python-openwsman
- debootstrap
- uuid-runtime
- curl
- python-pip
- python-pymysql
- dnsmasq
# NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the
# package list as the installation causes name resolution changes that can

View File

@ -4,9 +4,10 @@ init_dest_dir: /lib/systemd/system/
init_ext: .service
required_packages:
- mariadb-server
- python-dev
- python-mysqldb
- python-configparser
- python3-dev
- python3-mysqldb
- python3-pymysql
- python3-setuptools
- libffi-dev
- libxslt1-dev
- libssl-dev
@ -29,8 +30,6 @@ required_packages:
- debootstrap
- uuid-runtime
- curl
- python-pip
- python-pymysql
- dnsmasq
# NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the
# package list as the installation causes name resolution changes that can

View File

@ -115,7 +115,6 @@
- skip_install is not defined
- enable_venv | bool == false
- (ansible_distribution == 'CentOS' and ansible_distribution_major_version|version_compare('7', '<=')) or
(ansible_distribution == 'Ubuntu' and ansible_distribution_version|version_compare('14.10', '==')) or
(ansible_distribution == 'Fedora' and ansible_distribution_version|version_compare('25', '>='))
- name: "Install extra packages for ironic"

View File

@ -1,4 +0,0 @@
---
init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service

View File

@ -1,4 +0,0 @@
---
init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service

View File

@ -4,9 +4,10 @@ init_dest_dir: /lib/systemd/system/
init_ext: .service
required_packages:
- mariadb-server
- python-dev
- python-mysqldb
- python-configparser
- python3-dev
- python3-mysqldb
- python3-pymysql
- python3-setuptools
- libffi-dev
- libxslt1-dev
- libssl-dev
@ -15,6 +16,4 @@ required_packages:
- uwsgi
- uwsgi-core
# - python-django-uwsgi - This may not be needed
- uwsgi-plugin-python
- python-pip
- python-pymysql
- uwsgi-plugin-python3

View File

@ -4,9 +4,10 @@ init_dest_dir: /lib/systemd/system/
init_ext: .service
required_packages:
- mariadb-server
- python-dev
- python-mysqldb
- python-configparser
- python3-dev
- python3-mysqldb
- python3-pymysql
- python3-setuputils
- libffi-dev
- libxslt1-dev
- libssl-dev
@ -15,6 +16,4 @@ required_packages:
- uwsgi
- uwsgi-core
# - python-django-uwsgi - This may not be needed
- uwsgi-plugin-python
- python-pip
- python-pymysql
- uwsgi-plugin-python3