Browse code

Ensure passwordless ssh with stack between nodes

For compute migration to work, the stack user needs to be configured
with passwordless ssh between all hosts involved in the migration.

Reuse the build ssh-key for this, which is already distributed for
user root.

Depends-on: https://review.openstack.org/563584

Change-Id: Id07f55fea06509466add35315c135dbfba6aa714

Andrea Frittoli authored on 2018/04/20 21:36:22
Showing 1 changed files
... ...
@@ -6,6 +6,12 @@
6 6
 - name: Setup devstack on sub-nodes
7 7
   block:
8 8
 
9
+  - name: Distribute the build sshkey for the user "stack"
10
+    include_role:
11
+      name: copy-build-sshkey
12
+    vars:
13
+      copy_sshkey_target_user: 'stack'
14
+
9 15
   - name: Sync CA data to subnodes (when any)
10 16
     # Only do this if the tls-proxy service is defined and enabled
11 17
     include_role: