Files
tripleo-operator-ansible/roles/test_molecule_prep/tasks/main.yml
Alex Schultz 49a562aa8d Create role for molecule prep
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
2020-01-31 14:15:37 -07:00

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