Browse Source

rename variable to distinguish vm from host

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

+ 1
- 1
roles/lxc_guest/tasks/main.yaml View File

@ -64,7 +64,7 @@
container_file_exists:
name: "{{ vm_name }}"
path: "/etc/ssh/ssh_host_ed25519_key-cert.pub"
register: host_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"


Loading…
Cancel
Save