fix systemd/containers

This commit is contained in:
olli 2024-10-14 11:04:42 +02:00
parent 989ead0189
commit ea1118a7fb

View File

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