Only run the setup role when var is defined
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-03-30 14:40:11 +02:00
parent cc8f19fe85
commit b0534951d6

View File

@@ -12,6 +12,7 @@
remote_user: root remote_user: root
roles: roles:
- setup - setup
when: setup == true
# Clean up the system # Clean up the system
- hosts: datacenter - hosts: datacenter