summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/configure-localhost.yml
diff options
context:
space:
mode:
Diffstat (limited to 'xci/playbooks/configure-localhost.yml')
-rw-r--r--xci/playbooks/configure-localhost.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/xci/playbooks/configure-localhost.yml b/xci/playbooks/configure-localhost.yml
index 10dd6946..aebde61e 100644
--- a/xci/playbooks/configure-localhost.yml
+++ b/xci/playbooks/configure-localhost.yml
@@ -9,6 +9,7 @@
##############################################################################
- hosts: localhost
connection: local
+ become: yes
vars_files:
- ../var/opnfv.yml
pre_tasks:
@@ -17,6 +18,16 @@
file: ../var/{{ ansible_os_family }}.yml
roles:
- role: remove-folders
+
+- hosts: localhost
+ connection: local
+ vars_files:
+ - ../var/opnfv.yml
+ pre_tasks:
+ - name: Load distribution variables
+ include_vars:
+ file: ../var/{{ ansible_os_family }}.yml
+ roles:
- { role: clone-repository, project: "opnfv/releng-xci", repo: "{{ OPNFV_RELENG_GIT_URL }}", dest: "{{ OPNFV_RELENG_PATH }}", version: "{{ OPNFV_RELENG_VERSION }}" }
- { role: clone-repository, project: "openstack/openstack-ansible-openstack_openrc", repo: "{{ OPENSTACK_OSA_OPENRC_GIT_URL }}", dest: "{{ OPENSTACK_OSA_OPENRC_PATH }}", version: "master" }
- hosts: localhost