summaryrefslogtreecommitdiffstats
path: root/ansible/test/play-infrastructure/molecule/default/playbook.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/test/play-infrastructure/molecule/default/playbook.yml')
-rw-r--r--ansible/test/play-infrastructure/molecule/default/playbook.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/test/play-infrastructure/molecule/default/playbook.yml b/ansible/test/play-infrastructure/molecule/default/playbook.yml
new file mode 100644
index 00000000..26b3c15d
--- /dev/null
+++ b/ansible/test/play-infrastructure/molecule/default/playbook.yml
@@ -0,0 +1,11 @@
+---
+- name: Common setup for all hosts
+ hosts: all
+ tasks:
+ - name: Set cluster_ip variable
+ set_fact:
+ cluster_ip: "{{ ansible_default_ipv4.address }}"
+ - name: Include variables
+ include_vars: vars.yml
+
+- import_playbook: ../../../../infrastructure.yml