c4b111691b
We copied this over from puppetmaster, but let's manage it in ansible. The key has been renamed in host_vars on bridge.openstack.org already. Change-Id: Ia102dbe2ae2836880092b8997cb99135f5197b00
12 lines
215 B
YAML
12 lines
215 B
YAML
- name: Ensure .ssh directory
|
|
file:
|
|
path: /root/.ssh
|
|
mode: 0700
|
|
state: directory
|
|
|
|
- name: Write out ssh private key
|
|
copy:
|
|
content: '{{ root_rsa_key }}'
|
|
mode: 0400
|
|
dest: /root/.ssh/id_rsa
|