|
|
@ -52,8 +52,10 @@ |
|
|
|
|
|
|
|
|
|
|
|
- name: Check if host certificate exists |
|
|
|
container_certificate_exists: |
|
|
|
container_file_exists: |
|
|
|
name: "{{ vm_name }}" |
|
|
|
path: "/etc/ssh/ssh_host_ed25519_key-cert.pub" |
|
|
|
register: host_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" |
|
|
|