aboutsummaryrefslogtreecommitdiff
path: root/vm-create.yml
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2023-06-25 16:42:49 -0400
committerspmfox <spmfox@foxwd.com>2023-06-25 16:42:49 -0400
commit18c328be1a1a8502c956e85e01c01b7a9ff49042 (patch)
tree3182cd79dca5858af59465fb36bc72a0b70f8583 /vm-create.yml
parent268ce2cae02aa1c8b2ca965bec1207ee7245bcb4 (diff)
updating documentation, only do guest-configuration when root password or ssh key are defined
Diffstat (limited to 'vm-create.yml')
-rw-r--r--vm-create.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm-create.yml b/vm-create.yml
index 4aac513..631dd24 100644
--- a/vm-create.yml
+++ b/vm-create.yml
@@ -76,3 +76,4 @@
apply:
tags: guest-configure
tags: guest-configure
+ when: (ssh_key is defined and ssh_key | length > 0) or (root_password is defined and root_password | length > 0)