summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/configure-targethosts.yml
diff options
context:
space:
mode:
Diffstat (limited to 'xci/playbooks/configure-targethosts.yml')
-rw-r--r--xci/playbooks/configure-targethosts.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/xci/playbooks/configure-targethosts.yml b/xci/playbooks/configure-targethosts.yml
index 88da1312..0b3bf348 100644
--- a/xci/playbooks/configure-targethosts.yml
+++ b/xci/playbooks/configure-targethosts.yml
@@ -10,8 +10,11 @@
- hosts: controller
remote_user: root
vars_files:
- - ../var/{{ ansible_os_family }}.yml
- ../var/flavor-vars.yml
+ pre_tasks:
+ - name: Load distribution variables
+ include_vars:
+ file: ../var/{{ ansible_os_family }}.yml
roles:
- role: configure-network
# we need to force sync time with ntp or the nodes will be out of sync timewise
@@ -20,8 +23,11 @@
- hosts: compute
remote_user: root
vars_files:
- - ../var/{{ ansible_os_family }}.yml
- ../var/flavor-vars.yml
+ pre_tasks:
+ - name: Load distribution variables
+ include_vars:
+ file: ../var/{{ ansible_os_family }}.yml
roles:
- role: configure-network
# we need to force sync time with ntp or the nodes will be out of sync timewise