ansible / ansible.builtin / v2.9.3 / module / debconf Configure a .deb package | "added in version" 1.6 of ansible.builtin" Authors: Brian Coca (@bcoca) stableinterface | supported by coreansible.builtin.debconf (v2.9.3) — module
pip
Install with pip install ansible==2.9.3
Configure a .deb package using debconf-set-selections.
Or just query existing selections.
- name: Set default locale to fr_FR.UTF-8 debconf: name: locales question: locales/default_environment_locale value: fr_FR.UTF-8 vtype: select
- name: set to generate locales debconf: name: locales question: locales/locales_to_be_generated value: en_US.UTF-8 UTF-8, fr_FR.UTF-8 UTF-8 vtype: multiselect
- name: Accept oracle license debconf: name: oracle-java7-installer question: shared/accepted-oracle-license-v1-1 value: 'true' vtype: select
- name: Specifying package you can register/return the list of questions and current values debconf: name: tzdata
name: aliases: - pkg description: - Name of package to configure. required: true type: str value: aliases: - answer description: - Value to set the configuration to. type: str vtype: choices: - boolean - error - multiselect - note - password - seen - select - string - text - title description: - The type of the value supplied. - C(seen) was added in Ansible 2.2. type: str unseen: default: false description: - Do not set 'seen' flag when pre-seeding. type: bool question: aliases: - selection - setting description: - A debconf configuration setting. type: str