| --- |
| # onboard-monitoringservice.yml |
| # Adds the monitoringservice to the currently running pod |
| |
| - name: Include vars |
| hosts: all |
| tasks: |
| - name: Include variables |
| include_vars: "{{ item }}" |
| with_items: |
| - "profile_manifests/{{ cord_profile }}.yml" |
| - profile_manifests/local_vars.yml |
| |
| - name: Create monitoringservice config |
| hosts: head |
| roles: |
| - monitoringservice-config |
| |
| - include: add-bootstrap-containers-playbook.yml |
| |
| - name: Onboard monitoringservice |
| hosts: xos_bootstrap_ui |
| connection: docker |
| roles: |
| - monitoringservice-onboard |
| |
| - include: add-onboard-containers-playbook.yml |
| |
| - name: Check to see if XOS UI is ready |
| hosts: xos_ui |
| connection: docker |
| roles: |
| - xos-ready |
| |
| - name: Instantiate monitoringservice and channel |
| hosts: xos_ui |
| connection: docker |
| roles: |
| - monitoringservice-instantiate |
| |