fix systemd/containers

This commit is contained in:
olli 2024-10-14 10:52:42 +02:00
parent fb6d0af591
commit 989ead0189

View File

@ -108,7 +108,7 @@
- systemd-resolved - systemd-resolved
update_cache: yes update_cache: yes
install_recommends: no install_recommends: no
when: ansible_distribution_release is match("bookworm") when: ansible_distribution_release is match("bookworm") and (nocontainer.stat.exists == false)
register: resolved register: resolved
- name: Restart systemd-resolved - name: Restart systemd-resolved
@ -133,7 +133,7 @@
Package: * Package: *
Pin: release a=testing Pin: release a=testing
Pin-Priority: 100 Pin-Priority: 100
when: ansible_distribution_release is match("bookworm") when: ansible_distribution_release is match("bookworm") and (nocontainer.stat.exists == false)
#- name: add testing repo for Debian 12 - bookworm (needed by dnscrypt-proxy) #- name: add testing repo for Debian 12 - bookworm (needed by dnscrypt-proxy)
# ansible.builtin.apt_repository: # ansible.builtin.apt_repository: