tripleo-operator-ansible/roles/test_molecule_prep/README.md
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

809 B

test_molecule_prep

A role to do collection install for molecule testing. The role assumes it's being run from a molecule path.

Requirements

None.

Role Variables

  • test_module_prep_collections_build_root: (String) Path a directory to output the collection build to. Default: "{{ ansible_env.HOME }}/collection-buildroot"
  • test_module_prep_execution_root: (String) Path to the directory where the build action should run in. Default: '../../../..'

Output Variables

None.

Dependencies

None.

Example Playbook

Example install execution playbook

- hosts: localhost
  tasks:
    - name: Do molecule prep actions
      import_role:
        name: test_molecule_prep

License

Apache-2.0