ironic/playbooks/ci-workarounds/set-stack-key.yaml

14 lines
333 B
YAML

- hosts: all
name: Copy ssh keys from too ~stack
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