ironic/playbooks/ci-workarounds/pre.yaml
Julia Kreger bda02c43fb Direct bridge to be setup
The multinode jobs are failing because the br-infra bridge
is not being setup. It is not being setup because somewhere
in the infra, the multi-node-bridge role is never established
as a requirement. Realistically, only ironic does this, but
we need to ensure it is present.

Change-Id: Ia1dcc68d7e75a931e01829ce23da36c978a70765
2019-04-23 16:47:24 +00:00

16 lines
352 B
YAML

- hosts: all
name: Pre-setup tasks
tasks:
- shell:
cmd: |
set -e
set -x
sudo mkdir -p ~stack/.ssh
sudo cp ~root/.ssh/id_rsa.pub ~root/.ssh/id_rsa ~stack/.ssh
sudo chmod 700 ~stack/.ssh
sudo chown -R stack ~stack
executable: /bin/bash
roles:
- multi-node-bridge