Role - tripleo_multipathd

Role Documentation

Welcome to the “tripleo_multipathd” role documentation.

Role Defaults

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

# All variables intended for modification should be placed in this file.

tripleo_container_cli: "{{ container_cli | default('podman') }}"

tripleo_multipathd_custom_config_file: ''
tripleo_multipathd_enable: true
tripleo_multipathd_find_multipaths: true
tripleo_multipathd_skip_kpartx: true
tripleo_multipathd_user_friendly_names: false

Molecule Scenarios

Molecule is being used to test the “tripleo_multipathd” 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:
      ubi8:
        ansible_python_interpreter: /usr/bin/python3
Example default playbook
- name: Converge
  hosts: all
  roles:
  - role: tripleo_multipathd
  vars:
    tripleo_container_cli: 'true'

Scenario: preexisting_config

Driver: podman
Molecule Inventory
hosts:
  all:
    hosts:
      ubi8:
        ansible_python_interpreter: /usr/bin/python3
Example preexisting_config playbook
- name: Run the default converge playbook
  import_playbook: ../default/converge.yml

Scenario: custom_config

Driver: podman
Molecule Inventory
hosts:
  all:
    hosts:
      ubi8:
        ansible_python_interpreter: /usr/bin/python3
Example custom_config playbook
- name: Run the default converge playbook
  import_playbook: ../default/converge.yml
  vars:
    tripleo_multipathd_custom_config_file: ../custom_config/custom_multipath.conf