Role - test_deps

Role Documentation

Welcome to the “test_deps” role documentation.

Role Defaults

This section highlights all of the defaults and variables set within the “test_deps” role.

test_deps_extra_packages: []
test_deps_setup_tripleo: false
test_deps_repo_version: "{{ ansible_facts['distribution'] | lower }}{{ ansible_facts['distribution_major_version']\
  \ }}-master"
test_deps_mirrors_file_path: /etc/ci/mirror_info.sh
test_deps_setup_stream: true
test_deps_setup_ceph: false

Role Variables: fedora.yml

test_deps_repo: https://trunk.rdoproject.org/fedora/current
test_deps_selinux_packages:
- python3-libselinux
- python2-libselinux
test_deps_tripleo_packages:
- python3-tripleoclient
- python3-openstacksdk
test_deps_tripleo_repos: current-tripleo

Role Variables: centos-7.yml

test_deps_repo: https://trunk.rdoproject.org/centos7/current
test_deps_yaml_packages:
- PyYAML
test_deps_selinux_packages:
- libselinux-python
test_deps_tripleo_packages:
- python-tripleoclient
- python-openstacksdk
test_deps_tripleo_repos: current-tripleo-dev

Role Variables: centos-8.yml

test_deps_repo: https://trunk.rdoproject.org/centos8-master/current
test_deps_yaml_packages:
- python3-pyyaml
test_deps_selinux_packages:
- python3-libselinux
test_deps_tripleo_packages:
- python3-tripleoclient
- python3-openstacksdk
test_deps_tripleo_repos: current-tripleo

Role Variables: redhat-8.yml

test_deps_repo: https://trunk.rdoproject.org/redhat8-master/current
test_deps_yaml_packages:
- python3-pyyaml
test_deps_selinux_packages:
- python3-libselinux
test_deps_tripleo_packages:
- python3-tripleoclient
- python3-openstacksdk
test_deps_tripleo_repos: current-tripleo

Role Variables: redhat-9.yml

test_deps_repo: https://trunk.rdoproject.org/centos9-master/current
test_deps_yaml_packages:
- python3-pyyaml
test_deps_selinux_packages:
- python3-libselinux
test_deps_tripleo_packages:
- python3-tripleoclient
- python3-openstacksdk
- centos-stream-release
test_deps_tripleo_repos: current-tripleo

Role Variables: centos-9.yml

test_deps_repo: https://trunk.rdoproject.org/centos9-master/current
test_deps_yaml_packages:
- python3-pyyaml
test_deps_selinux_packages:
- python3-libselinux
test_deps_tripleo_packages:
- python3-tripleoclient
- python3-openstacksdk
test_deps_tripleo_repos: current-tripleo

Molecule Scenarios

Molecule is being used to test the “test_deps” role. The following section highlights the drivers in service and provides an example playbook showing how the role is leveraged.

Scenario: default

Driver: podman
Molecule Inventory
hosts:
  all:
    hosts:
      centos:
        ansible_python_interpreter: /usr/bin/python3
Example default playbook
- name: Converge
  hosts: all
  roles:
  - role: test_deps