Fix Python 2 removal for oqa, rvc and acr as well
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
b73122ab2a
commit
43db2ee9fc
3 changed files with 9 additions and 9 deletions
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
- name: Install required packages (Python 3)
|
- name: Install required packages (Python 3)
|
||||||
dnf:
|
dnf:
|
||||||
name: ['python3-fedfind', 'python3-fedmsg', 'python3-resultsdb_api',
|
name: ['python2-pip, python3-fedfind', 'python3-fedmsg', 'python3-resultsdb_api',
|
||||||
'python3-resultsdb_conventions-fedora', 'python3-setuptools']
|
'python3-resultsdb_conventions-fedora', 'python3-setuptools']
|
||||||
state: present
|
state: present
|
||||||
when: "'python34-fedmsg' in group_names"
|
when: "'python34-fedmsg' in group_names"
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
|
|
||||||
- name: Remove autocloudreporter (Python 2)
|
- name: Remove autocloudreporter (Python 2)
|
||||||
command: "pip2 --disable-pip-version-check uninstall autocloudreporter"
|
command: "pip2 uninstall --disable-pip-version-check --yes autocloudreporter"
|
||||||
when: "py2acrinstalled is defined and py2acrinstalled and 'python34-fedmsg' in group_names"
|
when: "py2acrinstalled is defined and py2acrinstalled and 'python34-fedmsg' in group_names"
|
||||||
notify:
|
notify:
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
|
|
|
@ -132,7 +132,7 @@
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
|
|
||||||
- name: Remove fedora_openqa (Python 2)
|
- name: Remove fedora_openqa (Python 2)
|
||||||
command: "pip2 --disable-pip-version-check uninstall fedora-openqa"
|
command: "pip2 uninstall --disable-pip-version-check --yes fedora-openqa"
|
||||||
when: "py2oqainstalled is defined and py2oqainstalled and 'python34-fedmsg' in group_names"
|
when: "py2oqainstalled is defined and py2oqainstalled and 'python34-fedmsg' in group_names"
|
||||||
notify:
|
notify:
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
|
|
|
@ -40,8 +40,8 @@
|
||||||
|
|
||||||
- name: Install required packages (Python 3)
|
- name: Install required packages (Python 3)
|
||||||
dnf:
|
dnf:
|
||||||
name: ['python3-fedfind', 'python3-wikitcms', 'python3-fedmsg', 'python3-mwclient',
|
name: ['python2-pip', 'python3-fedfind', 'python3-wikitcms', 'python3-fedmsg',
|
||||||
'python3-setuptools', 'relval']
|
'python3-mwclient', 'python3-setuptools', 'relval']
|
||||||
state: present
|
state: present
|
||||||
when: "'python34-fedmsg' in group_names"
|
when: "'python34-fedmsg' in group_names"
|
||||||
tags:
|
tags:
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
|
|
||||||
- name: Remove relvalconsumer (Python 2)
|
- name: Remove relvalconsumer (Python 2)
|
||||||
command: "pip2 uninstall relvalconsumer"
|
command: "pip2 --disable-pip-version-check --yes uninstall relvalconsumer"
|
||||||
when: "py2rvinstalled is defined and py2rvinstalled and 'python34-fedmsg' in group_names"
|
when: "py2rvinstalled is defined and py2rvinstalled and 'python34-fedmsg' in group_names"
|
||||||
notify:
|
notify:
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue