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
13 lines
409 B
YAML
13 lines
409 B
YAML
---
|
|
- name: Build collection
|
|
shell: >-
|
|
pwd && ansible-galaxy collection build --force --output-path {{ test_molecule_prep_collections_build_root }}
|
|
args:
|
|
chdir: "{{ test_molecule_prep_execution_root }}"
|
|
changed_when: true
|
|
|
|
- name: Install collection
|
|
shell: >-
|
|
ansible-galaxy collection install --force {{ test_molecule_prep_collections_build_root }}/tripleo-operator*
|
|
changed_when: true
|