Create /var/lib/nova/.ssh/config
We are currently not dropping the included config file, which is preventing nova from being able to resize/migrate from one host to another. This change simply drops the config file which we already have under the os_nova role to the correct location. Change-Id: I2d054f095bc76c821aa7b87f5f2890037260066a Closes-Bug: #1429188
This commit is contained in:
parent
e2d6ee0780
commit
a707c6c47f
@ -25,6 +25,17 @@
|
||||
- nova-key
|
||||
- nova-key-create
|
||||
|
||||
- name: Create the nova SSH config file
|
||||
copy:
|
||||
src: "ssh_config"
|
||||
dest: "/var/lib/nova/.ssh/config"
|
||||
owner: "{{ nova_system_user_name }}"
|
||||
group: "{{ nova_system_user_name }}"
|
||||
mode: "0644"
|
||||
tags:
|
||||
- nova-key
|
||||
- nova-key-create
|
||||
|
||||
- name: Create the nova SSH key if it doesnt exist
|
||||
command: |
|
||||
ssh-keygen -f {{ nova_system_home_folder }}/.ssh/id_rsa -t rsa -q -N ""
|
||||
|
Loading…
Reference in New Issue
Block a user