Browse Source

remov checking for certificate from shell task

update_ca_key
Edoardo Putti 8 years ago
parent
commit
3f7dcce00a
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      roles/lxc_guest/tasks/main.yaml

+ 0
- 5
roles/lxc_guest/tasks/main.yaml View File

@ -70,11 +70,6 @@
path: "/etc/ssh/ssh_host_ed25519_key-cert.pub" path: "/etc/ssh/ssh_host_ed25519_key-cert.pub"
register: vm_ssh_certificate_exists register: vm_ssh_certificate_exists
- name: check if cert key exist
shell: lxc-attach -n {{ vm_name }} --clear-env -e -- bash -c "ls /etc/ssh/ssh_host_ed25519_key-cert.pub"
register: cert_key_existance
ignore_errors: true
changed_when: "cert_key_existance.rc != 0"
- block: - block:
- name: Read host public key - name: Read host public key
container_file_read: container_file_read:


Loading…
Cancel
Save