Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated site.yml file #552

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions ansible/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
any_errors_fatal: true
become: True

# Defines deployment design and assigns role to server groups
# Install delfin on delfin-nodes group if enable_delfin is true
- name: Install delfin
hosts: delfin-nodes
remote_user: root
Expand All @@ -36,6 +36,7 @@
- enable_delfin == true
tags: delfin

# Install SRM Toolchain on controllers group if install_srm_toolchain is true
- name: Install SRM Toolchain
hosts: controllers
remote_user: root
Expand All @@ -52,7 +53,8 @@
- install_srm_toolchain == true
tags: srm_toolchain

- name: Install keystone services
# Install Keystone services and Gelato/Gelato-HA on controllers group depending on variables
- name: Install Keystone Services and Gelato/Gelato-HA
hosts: controllers
remote_user: root
vars_files:
Expand All @@ -65,27 +67,20 @@
gather_facts: false
become: True
tasks:
# Install auth service for Keystone if enable_dashboard, enable_hotpot, enable_gelato, or gelato_ha is true
- import_role:
name: auth-installer
when:
- enable_dashboard == true or enable_hotpot == true or enable_gelato == true or gelato_ha == true
tags: keystone

- name: Install Gelato/Gelato-HA
hosts: controllers
remote_user: root
vars_files:
- group_vars/gelato.yml
- group_vars/gelato-ha.yml
gather_facts: false
become: True
tasks:
# Install Gelato and/or Gelato-HA if enable_gelato or gelato_ha is true
- import_role:
name: gelato-installer
when:
- enable_gelato == true or gelato_ha == true
tags: gelato

- name: Deploy SODA Hotpot(api, controller, dock) installer
hosts: controllers
remote_user: root
Expand Down