summaryrefslogtreecommitdiffstats
path: root/xci/installer/kubespray/playbooks/configure-targethosts.yml
diff options
context:
space:
mode:
Diffstat (limited to 'xci/installer/kubespray/playbooks/configure-targethosts.yml')
-rw-r--r--xci/installer/kubespray/playbooks/configure-targethosts.yml6
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] }}"