commit d3756b1feedb57a1be037566e9562cac6c657b56
parent fd5aa1660ca4d76fa077a010676199348b21d8fe
Author: HernĂ¢ni Marques <hernani+clementine@vecirex.net>
Date: Wed, 18 Nov 2026 12:13:02 +0100
regional-currency-ng: apt python3-debian for deb822 (Ansible <2.20)
Diffstat:
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/regional-currency-ng/roles/regional_currency/tasks/packages.yml b/regional-currency-ng/roles/regional_currency/tasks/packages.yml
@@ -20,6 +20,15 @@
path: /etc/apt/sources.list.d/taler.list
state: absent
+# deb822_repository needs python3-debian; install explicitly so Ansible
+# core <2.20 (no install_python_debian param) still works in lab/controllers.
+# update_cache first: fresh lab images often have an empty/stale index.
+- name: Install python3-debian for deb822_repository
+ ansible.builtin.apt:
+ name: python3-debian
+ state: present
+ update_cache: true
+
- name: Configure the GNU Taler APT repository on Debian
ansible.builtin.deb822_repository:
name: Taler
@@ -36,7 +45,6 @@
- "{{ regional_currency_apt_architecture }}"
signed_by: /etc/apt/keyrings/taler-systems.gpg
state: present
- install_python_debian: true
when: ansible_facts["distribution"] == "Debian"
- name: Configure the GNU Taler APT repository on Ubuntu
@@ -54,7 +62,6 @@
- "{{ regional_currency_apt_architecture }}"
signed_by: /etc/apt/keyrings/taler-systems.gpg
state: present
- install_python_debian: true
when: ansible_facts["distribution"] == "Ubuntu"
- name: Refresh the APT package index