Role - tripleo_ceph_distribute_keys

Role Documentation

Welcome to the “tripleo_ceph_distribute_keys” role documentation.

Role Defaults

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

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

# All variables within this role should have a prefix of "tripleo_ceph_distribute_keys"
tripleo_ceph_distribute_keys_debug: '{{ (ansible_verbosity | int) >= 2 | bool }}'
tripleo_ceph_distribute_keys_hide_sensitive_logs: true
tripleo_ceph_distribute_keys_config_home: /etc/ceph
tripleo_ceph_distribute_keys_cluster: ceph
tripleo_ceph_distribute_keys_keyring_prefix: '{{ tripleo_ceph_distribute_keys_config_home
  }}/{{ tripleo_ceph_distribute_keys_cluster }}.client'
tripleo_ceph_distribute_keys_admin_keyring: '{{ tripleo_ceph_distribute_keys_keyring_prefix
  }}.admin.keyring'
tripleo_ceph_distribute_keys_ceph_uid: 167

Molecule Scenarios

Molecule is being used to test the “tripleo_ceph_distribute_keys” 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:
      centos:
        ansible_python_interpreter: /usr/bin/python3
Example default playbook
- name: Converge
  hosts: all
  roles:
  - role: tripleo_ceph_distribute_keys
    slurp_key:
      content: W2NsaWVudC5hZG1pbl0KCWtleSA9IEFRQmt3OUpnL0hnakh4QUFaRXBWTjRqNUxJUlpjbkJIbEFEcUdBPT0K
      encoding: base64
      failed: false
      source: /etc/ceph/foo.client.admin.keyring