summaryrefslogtreecommitdiffstats
path: root/ansible/roles/chrony/molecule/default
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/chrony/molecule/default')
-rw-r--r--ansible/roles/chrony/molecule/default/playbook.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/roles/chrony/molecule/default/playbook.yml b/ansible/roles/chrony/molecule/default/playbook.yml
index 7dccfc35..717d0f39 100644
--- a/ansible/roles/chrony/molecule/default/playbook.yml
+++ b/ansible/roles/chrony/molecule/default/playbook.yml
@@ -1,6 +1,10 @@
---
- name: Converge infrastructure hosts
hosts: infrastructure
+ tasks:
+ - name: Set cluster_ip fact
+ set_fact:
+ cluster_ip: "{{ ansible_default_ipv4.address }}"
roles:
- chrony