summaryrefslogtreecommitdiffstats
path: root/prototypes/xci/file/aio/configure-opnfvhost.yml
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-03-30 20:18:24 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-30 20:18:24 +0000
commitba4db82864245ecbae542fbb95bd284e63f21b3c (patch)
tree83b3d7caedf9410f91dd2ae16e169189af350af6 /prototypes/xci/file/aio/configure-opnfvhost.yml
parent9f446b8b9f16205fea7e480f4d72a1395f20c374 (diff)
parentc104d26e111a1af9d45eeb5ebc6a37d43b215c40 (diff)
Merge "xci: Add ansible files for sandbox aio flavor"
Diffstat (limited to 'prototypes/xci/file/aio/configure-opnfvhost.yml')
-rw-r--r--prototypes/xci/file/aio/configure-opnfvhost.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/prototypes/xci/file/aio/configure-opnfvhost.yml b/prototypes/xci/file/aio/configure-opnfvhost.yml
new file mode 100644
index 000000000..5c66d40c7
--- /dev/null
+++ b/prototypes/xci/file/aio/configure-opnfvhost.yml
@@ -0,0 +1,22 @@
+---
+- hosts: opnfv
+ remote_user: root
+ vars_files:
+ vars_files:
+ - ../var/opnfv.yml
+ roles:
+ - role: remove-folders
+ - { 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
+ command: "/bin/bash ./scripts/bootstrap-ansible.sh"
+ args:
+ chdir: "{{OPENSTACK_OSA_PATH}}"
+ - name: bootstrap opnfv host as aio
+ command: "/bin/bash ./scripts/bootstrap-aio.sh"
+ args:
+ chdir: "{{OPENSTACK_OSA_PATH}}"
+ - name: install OpenStack on opnfv host - this command doesn't log anything to console
+ command: "/bin/bash ./scripts/run-playbooks.sh"
+ args:
+ chdir: "{{OPENSTACK_OSA_PATH}}"