We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e528d5 commit 0dc748cCopy full SHA for 0dc748c
1 file changed
tasks/install-thinlinc-debian.yml
@@ -1,11 +1,8 @@
1
---
2
-# Because of circular dependencies, we need to install all packages at
3
-# once. I can't get the apt provider to install multiple local
4
-# packages all at once though. :/
5
-#
6
-# apt: deb="{{ item }}" state=present
7
-# with_items: "{{ thinlinc_packages }}"
+# The apt provider actually calls dpkg for local packages, which isn't
+# clever enough to handle our upgrades:
+# https://github.com/ansible/ansible/issues/77150
8
9
- name: Install ThinLinc Software
10
- command: "/usr/bin/dpkg --install --no-debsig --force-confold {{ ' '.join(thinlinc_packages) }}"
+ command: "/usr/bin/apt install -y -o \"Dpkg::Options::=--no-debsig\" -o \"Dpkg::Options::=--force-confold\" {{ ' '.join(thinlinc_packages) }}"
11
notify: run tl-setup
0 commit comments