From: Ullli Date: Tue, 2 Jun 2026 16:46:39 +0000 (+0200) Subject: Ansible-Command erweitert für Cups X-Git-Url: https://freie-schul-it.de/gitweb/fsit_smgt.git/commitdiff_plain/330541b487ff99213783b853a6130e71d1cf9f05?hp=5f2962060399d24e003beca86cf3e6b178fd89ab Ansible-Command erweitert für Cups --- 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