Role - tripleo-ha-wrapper

Role Documentation

Welcome to the “tripleo_ha_wrapper” role documentation.

Role Defaults

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

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

# All variables within this role should have a prefix of "tripleo_ha_wrapper"
tripleo_ha_wrapper_debug: '{{ (ansible_verbosity | int) >= 2 | bool }}'
tripleo_ha_wrapper_hide_sensitive_logs: true
tripleo_ha_wrapper_config_basedir: /var/lib/config-data/puppet-generated
tripleo_ha_wrapper_config_suffix: .previous_run
tripleo_ha_wrapper_puppet_modulepath: /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules
tripleo_ha_wrapper_pcmk_restart_script: /var/lib/container-config-scripts/pacemaker_restart_bundle.sh

Molecule Scenarios

Molecule is being used to test the “tripleo_ha_wrapper” 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-container-stop
    tripleo_containers_to_stop:
    - podman-container1
    - podman-container2