Role - test_package_action

Role Documentation

Welcome to the “test_package_action” role documentation.

Role Variables: redhat.yml

# This is a random package which is likely to not be installed by default.
test_install_packages:
- bison

Molecule Scenarios

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

Scenario: positive

Driver: podman
Example positive playbook
- name: Converge
  hosts: all
  roles:
  - role: test_package_action
      # Role variable used to interact with the package module shim
    tripleo_enable_package_install: true

Scenario: default

Driver: podman
Example default playbook
- name: Converge
  hosts: all
  roles:
  - role: test_package_action

Scenario: negative

Driver: podman
Example negative playbook
- name: Converge
  hosts: all
  roles:
  - role: test_package_action
      # Role variable used to interact with the package module shim
    tripleo_enable_package_install: false