Some fixups for oqa fedmsg 3 (prev commit)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
665023329a
commit
0233052858
4 changed files with 20 additions and 20 deletions
|
@ -42,7 +42,7 @@
|
|||
|
||||
- name: Install required packages (Python 2)
|
||||
dnf:
|
||||
name: ['python2-fedfind', 'python2-fedmsg-consumers', 'python2-openqa_client',
|
||||
name: ['python2-fedfind', 'python2-fedmsg', 'python2-openqa_client',
|
||||
'python2-setuptools', 'python2-six']
|
||||
state: present
|
||||
when: "'python34-fedmsg' not in group_names"
|
||||
|
@ -51,7 +51,7 @@
|
|||
|
||||
- name: Install required packages (Python 3)
|
||||
dnf:
|
||||
name: ['python2-pip', 'python3-fedfind', 'python3-fedmsg-consumers', 'python3-openqa_client',
|
||||
name: ['python2-pip', 'python3-fedfind', 'python3-fedmsg', 'python3-openqa_client',
|
||||
'python3-setuptools', 'python3-six']
|
||||
state: present
|
||||
when: "'python34-fedmsg' in group_names"
|
||||
|
@ -83,7 +83,7 @@
|
|||
|
||||
- name: Remove check-compose (Python 2)
|
||||
command: "pip2 --disable-pip-version-check uninstall check-compose"
|
||||
when: "py2ccinstalled is defined and py2ccinstalled|length>0 and 'python34-fedmsg' in group_names"
|
||||
when: "py2ccinstalled is defined and py2ccinstalled and 'python34-fedmsg' in group_names"
|
||||
notify:
|
||||
- restart fedmsg-hub
|
||||
|
||||
|
@ -91,7 +91,7 @@
|
|||
command: "python3 setup.py install"
|
||||
args:
|
||||
chdir: /root/check-compose
|
||||
when: "(gitcc is changed or (py2ccinstalled is defined and py2ccinstalled|length>0)) and 'python34-fedmsg' in group_names"
|
||||
when: "(gitcc is changed or (py2ccinstalled is defined and py2ccinstalled)) and 'python34-fedmsg' in group_names"
|
||||
notify:
|
||||
- restart fedmsg-hub
|
||||
|
||||
|
@ -104,7 +104,7 @@
|
|||
|
||||
- name: Remove Python 2 packages
|
||||
dnf:
|
||||
name: ['python2-fedfind', 'python2-fedmsg-consumers', 'python2-openqa_client',
|
||||
name: ['python2-fedfind', 'python2-fedmsg', 'python2-openqa_client',
|
||||
'python2-setuptools', 'python2-six']
|
||||
state: absent
|
||||
when: "'python34-fedmsg' in group_names"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue