Role - tripleo-puppet-cache

Role Documentation

Welcome to the “tripleo_puppet_cache” role documentation.

Role Defaults

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

# All variables intended for modification should be placed in this file.
tripleo_puppet_hide_sensitive_logs: '{{ hide_sensitive_logs | default(true) }}'
tripleo_puppet_debug: '{{ ((ansible_verbosity | int) >= 2) | bool }}'

# All variables within this role should have a prefix of "tripleo_puppet_cache"
tripleo_puppet_cache_debug: '{{ ((ansible_verbosity | int) >= 2) | bool }}'
tripleo_puppet_cache_base_dir: /var/lib/container-puppet/puppetlabs
tripleo_puppet_cache_config: |
  facts : {
      blocklist: [ "EC2" ],
      ttls: [
        { "kernel" : 8 hour },
        { "memory" : 8 hour },
        { "networking" : 8 hour },
        { "operating system" : 8 hour },
        { "processor" : 8 hour },
      ]
    }

Molecule Scenarios

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

Scenario: default

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