feat(o45): add configuration files for o45 host and update apt tasks for compatibility

This commit is contained in:
2026-08-09 00:33:51 +02:00
parent 05cb840e6d
commit c6205045c5
3 changed files with 15 additions and 23 deletions
+3 -3
View File
@@ -4,10 +4,10 @@
# ---
- name: (caching-nameserver.yml) update
ansible.builtin.apt:
update_cache: true
cache_valid_time: "{{ 0 if common_apt_config_updated is defined and common_apt_config_updated.changed else apt_update_cache_valid_time }}"
ansible.builtin.command: apt-get update # noqa: command-instead-of-module
changed_when: false
environment:
DEBIAN_FRONTEND: noninteractive
when:
- ansible_facts["distribution"] == "Debian"
- apt_update|bool