summaryrefslogtreecommitdiffstats
path: root/xci/installer/osa/playbooks/configure-opnfvhost.yml
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-03-02 14:06:53 +0000
committerFatih Degirmenci <fdegir@gmail.com>2018-03-02 17:11:17 +0000
commit05a97682f57a62169eb0760c1d4a2e8599f7873d (patch)
tree7de242c8e3b8020273893f124d36bd63ec1c7f96 /xci/installer/osa/playbooks/configure-opnfvhost.yml
parentdf68b8fd82b95a04d14d0d3a87c436f3fb6b0edb (diff)
xci: Make few of OpenStack-Ansible components optional
Ironic and Horizon are not quite needed for a functional deployment and they are not currently required by functest so we can remove them from the default deployment. Change-Id: I171483f7b774951f84687529e98cb519afa48043 Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/installer/osa/playbooks/configure-opnfvhost.yml')
-rw-r--r--xci/installer/osa/playbooks/configure-opnfvhost.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/xci/installer/osa/playbooks/configure-opnfvhost.yml b/xci/installer/osa/playbooks/configure-opnfvhost.yml
index 4d75f115..deeab182 100644
--- a/xci/installer/osa/playbooks/configure-opnfvhost.yml
+++ b/xci/installer/osa/playbooks/configure-opnfvhost.yml
@@ -59,14 +59,15 @@
failed_when: false
- name: copy cinder.yml
shell: "/bin/cp -rf {{ remote_xci_path }}/xci/installer/osa/files/cinder.yml {{OPENSTACK_OSA_ETC_PATH}}/env.d"
- - name: Configure AIO tempest
+ - name: Configure OpenStack-Ansible components
lineinfile:
path: "{{ OPENSTACK_OSA_ETC_PATH }}/user_variables.yml"
- line: "{{ item }}: {{ RUN_TEMPEST | bool }}"
+ line: "{{ item.component }}: {{ item.value }}"
state: present
with_items:
- - "tempest_install"
- - "tempest_run"
+ - { component: "tempest_install", value: "{{ RUN_TEMPEST | bool }}" }
+ - { component: "tempest_run", value: "{{ RUN_TEMPEST | bool }}" }
+ - { component: "core_openstack", value: "{{ CORE_OPENSTACK_INSTALL | bool }}" }
- block:
- name: copy ceph.yml
shell: "/bin/cp -rf {{ remote_xci_flavor_files }}/ceph.yml {{OPENSTACK_OSA_ETC_PATH}}/conf.d/"