summaryrefslogtreecommitdiff
path: root/playbooks/ci-workarounds/pre.yaml
blob: 27f9cad1fa2cceaef5a5ce1f0254b2e06354a2f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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