Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | --- |
| 2 | # pod-test-playbook.yml |
| 3 | # Tests CiaB cord-pod XOS configuration |
| 4 | |
| 5 | - name: Include vars |
| 6 | hosts: all |
| 7 | tasks: |
| 8 | - name: Include variables |
| 9 | include_vars: "{{ item }}" |
| 10 | with_items: |
| 11 | - "profile_manifests/{{ cord_profile }}.yml" |
| 12 | - profile_manifests/local_vars.yml |
| 13 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 14 | - name: Create test client |
| 15 | hosts: head |
| 16 | become: yes |
| 17 | roles: |
| 18 | - maas-test-client-install |
| 19 | |
| 20 | - name: Create test subscriber |
| 21 | hosts: head |
| 22 | roles: |
| 23 | - test-subscriber-config |
| 24 | |
| 25 | - include: add-onboard-containers-playbook.yml |
| 26 | |
| 27 | - name: Enable the test subscriber |
| 28 | hosts: xos_ui |
| 29 | connection: docker |
| 30 | roles: |
| 31 | - test-subscriber-enable |
| 32 | |
| 33 | - name: Test VSG |
| 34 | hosts: head |
| 35 | become: no |
| 36 | roles: |
| 37 | - test-vsg |
| 38 | |
| 39 | - include: onboard-exampleservice-playbook.yml |
| 40 | |
| 41 | - name: Test ExampleService |
| 42 | hosts: head |
| 43 | become: no |
| 44 | roles: |
| 45 | - test-exampleservice |
| 46 | |