Stop using slave_scripts/install-distro-packages.sh
Migrate the legacy job to start using our bindep role from zuul-jobs.
This will allow openstack-infra to delete
slave_scripts/install-distro-packages.sh in the future.
Change-Id: Ie3437d26fd6dfa884c86e18d69c1b1398d821dbe
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit 3d1ee579cb
)
This commit is contained in:
parent
7af6b6c924
commit
18616f88b1
|
@ -1,12 +1,10 @@
|
||||||
- hosts: all
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- bindep
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
- name: Ensure legacy workspace directory
|
||||||
file:
|
file:
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
path: '{{ ansible_user_dir }}/workspace'
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
Loading…
Reference in New Issue