blob: 62374637fe39a5114166a6fb1e89c6369ecb3c05 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
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
14# - name: Run platform checks
15# hosts: head
16# become: no
17# roles:
18# - platform-check
19
20- name: Create test client
21 hosts: head
22 become: yes
23 roles:
24 - maas-test-client-install
25
26- name: Create test subscriber
27 hosts: head
28 roles:
29 - test-subscriber-config
30
31- include: add-onboard-containers-playbook.yml
32
33- name: Enable the test subscriber
34 hosts: xos_ui
35 connection: docker
36 roles:
37 - test-subscriber-enable
38
39- name: Test VSG
40 hosts: head
41 become: no
42 roles:
43 - test-vsg
44
45- include: onboard-exampleservice-playbook.yml
46
47- name: Test ExampleService
48 hosts: head
49 become: no
50 roles:
51 - test-exampleservice
52