From 2582b2eb069cb00b750ef69d914a61f833031862 Mon Sep 17 00:00:00 2001 From: krumel Date: Sun, 27 Feb 2022 00:58:39 +0100 Subject: [PATCH] turns out splix actually FUCKING WORKS BUT IT JUST RESPONDS WITH A FUCKING ERROR --- playbooks/srv-print.yml | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/playbooks/srv-print.yml b/playbooks/srv-print.yml index 915da67..88f1c6d 100644 --- a/playbooks/srv-print.yml +++ b/playbooks/srv-print.yml @@ -18,45 +18,15 @@ apt: pkg: - cups + - printer-driver-splix state: present update_cache: yes - - name: download the printer driver binary - get_url: - url: https://krumel.moe/media/ansible/uld_V1.00.39_01.17.tar.gz - dest: /tmp/ - - - name: extract the printer driver binary - unarchive: - src: /tmp/uld_V1.00.39_01.17.tar.gz - dest: /tmp/ - remote_src: yes - - # - name: remove prompts from the installer - # replace: - # path: /tmp/uld/noarch/pre_install.sh - # regexp: 'read' - # replace: 'echo' - - # - name: remove eula prompt from driver installer - # replace: - # path: /tmp/uld/noarch/pre_install.sh - # regexp: 'EULA_PAGER\="\$\{PAGER\:\-`which more`\}"' - # replace: 'exit 0' - - - name: run the printer driver installer - shell: bash /tmp/uld/install.sh - environment: - - AGREE_EULA: y - - QUIT_INSTALL: n - - CONFIGURE_FIREWALL: n - - name: allow access to cups from network replace: path: /etc/cups/cupsd.conf regexp: 'Listen localhost:631' replace: 'Listen 0.0.0.0:631' - register: cupsd_mod1 - name: configure cups for remote access shell: cupsctl --remote-admin --remote-any --share-printers