summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/bootstrap-scenarios.yml
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-10-12 09:50:38 +0100
committerMarkos Chandras <mchandras@suse.de>2017-10-19 13:58:29 +0100
commit481f9031ff8cd0a3b0692c110af6c8e2d04460da (patch)
tree6104ba7640c38fd65890d54199088ab079895189 /xci/playbooks/bootstrap-scenarios.yml
parent4c1be188401e8cf3aa7ff818f1e285756f2a4d7c (diff)
xci: playbooks: Add generic playbook for scenarios to plug their roles
The new bootstrap-scenarios.yml playbook is aimed to be used by scenarios to configure themselves right before we proceed with the bootstrapping. This way we can avoid having scenario specific stuff into the generic code. Change-Id: I3026013719a50458c65405439712270f25f569ff Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/playbooks/bootstrap-scenarios.yml')
-rw-r--r--xci/playbooks/bootstrap-scenarios.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/xci/playbooks/bootstrap-scenarios.yml b/xci/playbooks/bootstrap-scenarios.yml
new file mode 100644
index 00000000..e7bd7dc9
--- /dev/null
+++ b/xci/playbooks/bootstrap-scenarios.yml
@@ -0,0 +1,10 @@
+---
+#
+# This file is aimed to be used by scenarios to plug into the XCI.
+# Ideally, all they need to do at this point is to include their
+# role using a statement like the following one
+#
+# - name: Include foobar role
+# include_role:
+# name: "foobar"
+# when: OPNFV_SCENARIO == "foobar"