Browse Source

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)
changes/97/564297/1
Paul Belanger 1 year ago
parent
commit
18616f88b1
1 changed files with 3 additions and 5 deletions
  1. 3
    5
      playbooks/pre/prepare-workspace-images.yaml

+ 3
- 5
playbooks/pre/prepare-workspace-images.yaml View File

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

Loading…
Cancel
Save