system-config/playbooks/roles/root-keys/tasks/main.yaml
Monty Taylor c4b111691b
Install ssh key on bridge.openstack.org
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
2018-08-19 10:26:10 -05:00

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