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.yml16
1 files changed, 12 insertions, 4 deletions
diff --git a/xci/playbooks/configure-targethosts.yml b/xci/playbooks/configure-targethosts.yml
index b7b09cfb..d136f436 100644
--- a/xci/playbooks/configure-targethosts.yml
+++ b/xci/playbooks/configure-targethosts.yml
@@ -10,11 +10,15 @@
- hosts: controller
remote_user: root
vars_files:
- - ../var/flavor-vars.yml
+ - ../var/opnfv.yml
+
pre_tasks:
- name: Load distribution variables
include_vars:
- file: ../var/{{ ansible_os_family }}.yml
+ file: "{{ item }}"
+ with_items:
+ - ../var/{{ ansible_os_family }}.yml
+ - ../file/{{ XCI_FLAVOR }}/flavor-vars.yml
roles:
- role: configure-network
# we need to force sync time with ntp or the nodes will be out of sync timewise
@@ -23,12 +27,16 @@
- hosts: compute
remote_user: root
vars_files:
- - ../var/flavor-vars.yml
- ../var/opnfv.yml
+
pre_tasks:
- name: Load distribution variables
include_vars:
- file: ../var/{{ ansible_os_family }}.yml
+ file: "{{ item }}"
+ with_items:
+ - ../var/opnfv.yml
+ - ../var/{{ ansible_os_family }}.yml
+ - ../file/{{ XCI_FLAVOR }}/flavor-vars.yml
roles:
- role: configure-network
# we need to force sync time with ntp or the nodes will be out of sync timewise