Since we need to install the collection (and possibly other actions in the future), let's create a role that we can share across all the tests. Change-Id: Ic0214e7c3f1b17a8932b432d6536ef9e44fa84a7
18 lines
377 B
YAML
18 lines
377 B
YAML
---
|
|
- name: Converge
|
|
hosts: all
|
|
tasks:
|
|
|
|
- name: "Include test_molecule_prep"
|
|
include_role:
|
|
name: "test_molecule_prep"
|
|
|
|
- name: Test known collection filter
|
|
set_fact:
|
|
test_var: "{{ 'test' | tripleo.operator.shell_arg_list(parameter='--test') }}"
|
|
|
|
- name: Assert value
|
|
assert:
|
|
that:
|
|
- test_var == "--test test"
|