summaryrefslogtreecommitdiff
path: root/playbooks/ci-workarounds/pre.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/ci-workarounds/pre.yaml')
-rw-r--r--playbooks/ci-workarounds/pre.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/playbooks/ci-workarounds/pre.yaml b/playbooks/ci-workarounds/pre.yaml
new file mode 100644
index 000000000..27f9cad1f
--- /dev/null
+++ b/playbooks/ci-workarounds/pre.yaml
@@ -0,0 +1,15 @@
+- 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