From f7a533b89b02632f8edc0b97202912061921d4f4 Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Thu, 13 Oct 2016 18:54:51 +0200 Subject: [PATCH] remove task to read public key from shell --- roles/lxc_guest/tasks/main.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roles/lxc_guest/tasks/main.yaml b/roles/lxc_guest/tasks/main.yaml index a303f3b..d2f1c5e 100644 --- a/roles/lxc_guest/tasks/main.yaml +++ b/roles/lxc_guest/tasks/main.yaml @@ -78,10 +78,6 @@ path: "/etc/ssh/ssh_host_ed25519_key.pub" register: vm_public_key - - name: get pub key - shell: lxc-attach -n {{ vm_name }} --clear-env -e -- bash -c "cat /etc/ssh/ssh_host_ed25519_key.pub" - register: pub_key - - debug: var=pub_key verbosity=2 - name: generate host request