debops.keyring default variables

Global configuration

keyring__enabled

Enable or disable support for managing APT and GPG keyrings for other roles.

keyring__enabled: True
keyring__local_path

The path to the directory that contains GPG keys available locally on the Ansible Controller. A relative path is relative to the files/ directory of the debops.keyring Ansible role; you can also specify an absolute path to a directory on the Ansible Controller.

Key files are expected to be named in the format: 0xFINGERPRINT.asc.

keyring__local_path: ''
keyring__keybase_api

The URL of the Keybase API which should be used to lookup GPG keys not available in the local keyring.

keyring__keybase_api: 'https://keybase.io/'
keyring__keyserver

The URL of the GPG keyserver to use to retrieve keys that are not available in the local keyring.

keyring__keyserver: 'hkp://pool.sks-keyservers.net'

APT packages

keyring__base_packages

List of the default APT packages to install for keyring support.

keyring__base_packages:
  - 'curl'
  - 'ca-certificates'
  - '{{ "apt-transport-https"
        if (ansible_distribution_release in
            [ "wheezy", "jessie", "stretch",
              "precise", "trusty", "xenial" ])
        else [] }}'
keyring__packages

List of additional APT packages to install for keyring support.

keyring__packages: []

Dependent configuration variables

keyring__dependent_gpg_user

Specify the UNIX account on which GPG keys will be managed if the user parameter is not specified. If the variable is empty, root GPG keyring will be used by default. This variable can be set to manage many GPG keys on an unprivileged UNIX account at once.

keyring__dependent_gpg_user: ''
keyring__dependent_apt_keys

The variable which can be used by other Ansible roles to define what GPG keys should be present in the APT keyring. If you want to define the APT keys via the Ansible inventory, use the debops.apt role instead. See keyring__dependent_apt_keys for more details.

keyring__dependent_apt_keys: []
keyring__dependent_gpg_keys

The variable which can be used by other Ansible roles to define what GPG keys should be present in an unprivileged UNIX account GPG keyrings. The usage via the Ansible inventory is not supported. See keyring__dependent_gpg_keys for more details.

keyring__dependent_gpg_keys: []