diff options
author | Markos Chandras <mchandras@suse.de> | 2018-04-03 11:27:17 +0100 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-04-06 10:21:22 +0100 |
commit | 1707d87b382602935378545e76c0a5f654474b13 (patch) | |
tree | 9f3c2ee8f5ca94a71c21434f30bcd102016b1551 /xci/installer/kubespray/playbooks/configure-targethosts.yml | |
parent | e5674e0a504304c3ac698cca39b93e8c4992b067 (diff) |
xci: kubespray: Use the common tasks to manage the SSH keys
Drop the kubespray specific tasks for managing the SSH keys in favor of
the common ones.
Change-Id: Ib8e18fcc14c4c0126cae72740dbb33921a21af6b
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/installer/kubespray/playbooks/configure-targethosts.yml')
-rw-r--r-- | xci/installer/kubespray/playbooks/configure-targethosts.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xci/installer/kubespray/playbooks/configure-targethosts.yml b/xci/installer/kubespray/playbooks/configure-targethosts.yml index d89cd334..4efe82fd 100644 --- a/xci/installer/kubespray/playbooks/configure-targethosts.yml +++ b/xci/installer/kubespray/playbooks/configure-targethosts.yml @@ -2,10 +2,8 @@ - hosts: all remote_user: root tasks: - - name: add public key to host - copy: - src: "{{ xci_path }}/xci/files/authorized_keys" - dest: /root/.ssh/authorized_keys + - name: Manage SSH keys + include_tasks: "{{ xci_path }}/xci/playbooks/manage-ssh-keys.yml" - name: Install required packages package: name: "{{ kube_require_packages[ansible_pkg_mgr] }}" |