Role - tripleo-config

Role Documentation

Welcome to the “tripleo-config” role documentation.

Role Defaults

This section highlights all of the defaults and variables set within the “tripleo-config” role.

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

# All variables within this role should have a prefix of "tripleo-config"
tripleo_config_type: ini
tripleo_config_src: '{{ tripleo_config_type }}-config.j2'
tripleo_config_owner: root
tripleo_config_group: root
tripleo_config_mode: 0644
tripleo_config_overrides: {}
tripleo_config_remote_src: false

Molecule Scenarios

Molecule is being used to test the “tripleo-config” 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-config
    tripleo_config_dest: /tmp/test.ini

  - role: tripleo-config
    tripleo_config_dest: /tmp/test2.ini
    tripleo_config_overrides:
      testSection:
        test_option: var1