2 - name: Deploy an app & configure service dependencies on clever
8 path: ../clever-commands
14 clever_app: app_00000000-0000-0000-0000-000000000000
15 clever_service_dependencies:
16 - app_id: app_00000000-2222-2222-2222-000000000000
17 - addon_id: addon_00000000-0000-0000-0000-000000000000
19 - name: Check stubbed commands
20 shell: "{{ item.cmd }}"
23 display: "{{ item.display }}"
25 - cmd: "grep service ../clever-commands"
26 display: "Expected 'clever service' command to be called"
27 register: tests_results
31 - "failed_results: {{ failed_results }}"
32 - "success_results: {{ success_results }}"
33 failed_when: tests_results is failed
35 failed_results: "{{ tests_results.results | selectattr('failed') | map(attribute='item.display') | list }}"
36 success_results: "{{ tests_results.results | rejectattr('failed') | map(attribute='item.display') | list }}"