diff options
author | 2017-09-19 21:59:25 +0100 | |
---|---|---|
committer | 2017-09-21 21:51:42 +0100 | |
commit | 14d5449ef8de17293f2524005d7c2262f0baa733 (patch) | |
tree | f6cda82548ec41f951de03cad4e7400b24bda619 /xci/file/aio | |
parent | eead93830fc0d20996287439d765770d69bc533c (diff) |
xci: Gain elevated privileges to remove the XCI_DEVEL_ROOT directory
This is similar to 0927671781f6875926dac2e5f4bb10816e67070c. We need
elevated privileges to remove the XCI_DEVEL_ROOT directory so move this
role to its own play.
Change-Id: Ice4f030eeb28cd24a6166f11a5a792ab3df8880c
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/file/aio')
-rw-r--r-- | xci/file/aio/configure-opnfvhost.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xci/file/aio/configure-opnfvhost.yml b/xci/file/aio/configure-opnfvhost.yml index 708ad618..5ef19326 100644 --- a/xci/file/aio/configure-opnfvhost.yml +++ b/xci/file/aio/configure-opnfvhost.yml @@ -1,11 +1,17 @@ --- - hosts: opnfv remote_user: root - vars_files: + gather_facts: true + become: yes vars_files: - ../var/opnfv.yml roles: - role: remove-folders + +- hosts: opnfv + remote_user: root + vars_files: + - ../var/opnfv.yml - { role: clone-repository, project: "openstack/openstack-ansible", repo: "{{ OPENSTACK_OSA_GIT_URL }}", dest: "{{ OPENSTACK_OSA_PATH }}", version: "{{ OPENSTACK_OSA_VERSION }}" } tasks: - name: bootstrap ansible on opnfv host |