~openstack-ossg/bandit/Stackforge

« back to all changes in this revision

Viewing changes to playbooks/legacy/bandit-integration-magnum/run.yaml

  • Committer: Paul Belanger
  • Date: 2018-04-23 19:39:13 UTC
  • Revision ID: git-v1:209182c3eed1e6e98db52371b4eafa7b71df3a4d
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: I6b07be9b7912ff226991552b9be6dc9999416b56
Signed-off-by: Paul Belanger <pabelanger@redhat.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
- hosts: all
2
2
  name: Autoconverted job legacy-bandit-integration-magnum from old job gate-bandit-integration-magnum
 
3
  roles:
 
4
    - bindep
 
5
 
3
6
  tasks:
4
7
 
5
8
    - name: Ensure legacy workspace directory
8
11
        state: directory
9
12
 
10
13
    - shell:
11
 
        cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
12
 
        chdir: '{{ ansible_user_dir }}/workspace'
13
 
      environment: '{{ zuul | zuul_legacy_vars }}'
14
 
 
15
 
    - shell:
16
14
        cmd: |
17
15
          set -u
18
16
          set -e