diff options
Diffstat (limited to 'roles/vmware/tasks/convert.yml')
-rw-r--r-- | roles/vmware/tasks/convert.yml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/roles/vmware/tasks/convert.yml b/roles/vmware/tasks/convert.yml index 39f4e8b..53c4989 100644 --- a/roles/vmware/tasks/convert.yml +++ b/roles/vmware/tasks/convert.yml @@ -53,6 +53,7 @@ content: | {{ signature.stdout }} {{ certificate.stdout }} + when: vyos_vmware_private_key_path is defined - name: Create OVA with private key become: false archive: @@ -64,6 +65,3 @@ dest: "{{ vyos_vmware_ova }}" format: tar when: vyos_vmware_private_key_path is defined -- name: Copy image - become: false - command: cp "{{ vyos_vmware_ova }}" . |