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 - systemd-resolved
update_cache: yes update_cache: yes
install_recommends: no 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 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") 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) #- name: add testing repo for Debian 12 - bookworm (needed by dnscrypt-proxy)
# ansible.builtin.apt_repository: # ansible.builtin.apt_repository: