summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nexus/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nexus/tasks/main.yml')
-rw-r--r--ansible/roles/nexus/tasks/main.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/ansible/roles/nexus/tasks/main.yml b/ansible/roles/nexus/tasks/main.yml
index c5905b13..c1d83515 100644
--- a/ansible/roles/nexus/tasks/main.yml
+++ b/ansible/roles/nexus/tasks/main.yml
@@ -1,2 +1,9 @@
---
-- include_tasks: "{{ phase }}.yml"
+- include_tasks: install.yml
+- include_tasks: configure.yml
+ when: populate_nexus | bool
+- include_tasks: runtime-populate.yml
+ when:
+ - runtime_images is defined
+ - runtime_images is not none
+ - runtime_images.keys() | length > 0