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:
Paul Belanger 2018-04-20 14:56:18 -04:00
parent 7af6b6c924
commit 18616f88b1
1 changed files with 3 additions and 5 deletions

View File

@ -1,12 +1,10 @@
- hosts: all
roles:
- bindep
tasks:
- name: Ensure legacy workspace directory
file:
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'