From 330541b487ff99213783b853a6130e71d1cf9f05 Mon Sep 17 00:00:00 2001 From: Ullli Date: Tue, 2 Jun 2026 18:46:39 +0200 Subject: [PATCH 1/1] =?utf8?q?Ansible-Command=20erweitert=20f=C3=BCr=20Cup?= =?utf8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- tasks/cups.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/cups.yml b/tasks/cups.yml index 6395438..979736e 100644 --- a/tasks/cups.yml +++ b/tasks/cups.yml @@ -10,6 +10,10 @@ # https://github.com/OpenPrinting/cups/issues/158 ansible.builtin.command: cmd: cupsctl --no-remote-admin --no-remote-any --no-share-printers + register: cupsctl_no_remote_admin_response + changed_when: cupsctl_no_remote_admin_response.rc != 0 + when: cupsctl_no_remote_admin_response is defined + - name: cups settings ansible.builtin.command: cmd: cupsctl --remote-admin --remote-any --share-printers -- 2.39.5