arillso.system.apt_keys role – Manage APT keys

Note

This role is part of the arillso.system collection (version 0.0.34).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install arillso.system.

To use it in a playbook, specify: arillso.system.apt_keys.

Entry point main – Manage APT keys

Synopsis

  • This specification manages APT keys on a system using ansible.builtin.apt_key module.

Parameters

Parameter

Comments

apt_keys_list

list / elements=dictionary

A list of dictionaries specifying APT keys to manage.

Each dictionary should have ‘id’, ‘url’, and optionally ‘state’.

Default: []

id

string

The ID of the APT key.

state

string

The state of the APT key. Can be ‘present’ or ‘absent’.

Default: "{{ apt_keys_state }}"

url

string

The URL from where the APT key can be downloaded.

apt_keys_state

string

The default state of APT keys if not specified in each key dictionary. Can be ‘present’ or ‘absent’.

Default: "present"

Entry point manage_apt_keys – Manage APT keys

Synopsis

  • This specification manages APT keys on a system using ansible.builtin.apt_key module.

Parameters

Parameter

Comments

apt_keys_list

list / elements=dictionary

A list of dictionaries specifying APT keys to manage.

Each dictionary should have ‘id’, ‘url’, and optionally ‘state’.

Default: []

id

string

The ID of the APT key.

state

string

The state of the APT key. Can be ‘present’ or ‘absent’.

Default: "{{ apt_keys_state }}"

url

string

The URL from where the APT key can be downloaded.

apt_keys_state

string

The default state of APT keys if not specified in each key dictionary. Can be ‘present’ or ‘absent’.

Default: "present"