add pauses after certain config actions
Change-Id: Icddb0df375b0354c59d30d2d48aeb511d13e1230
diff --git a/cord-pod-ansible/roles/config/tasks/run_config.yml b/cord-pod-ansible/roles/config/tasks/run_config.yml
new file mode 100644
index 0000000..cfb64fc
--- /dev/null
+++ b/cord-pod-ansible/roles/config/tasks/run_config.yml
@@ -0,0 +1,12 @@
+- set_fact: recipe="{{ item }}"
+
+- name: run config recipe {{ recipe.name }}
+ xostosca:
+ port={{ ui_port }}
+ username={{ bootstrap_user }}
+ password={{ bootstrap_password }}
+ recipe={{ lookup('file', recipe.yaml) }}
+
+- name: post-recipe delay
+ pause: seconds="{{ recipe.post_delay }}"
+ when: recipe.post_delay is defined