doireallyhavetofixeverythingmyself

This commit is contained in:
krumel
2022-02-27 00:30:34 +01:00
parent 03ff69a6fb
commit 1c0ddd82c6

View File

@ -33,11 +33,20 @@
dest: /tmp/
remote_src: yes
- name: remove install prompt from driver installer
replace:
path: /tmp/uld/install.sh
regexp: 'read CONTINUE_INSTALL'
replace: 'CONTINUE_INSTALL="y"'
- 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
ansible.builtin.expect:
command: bash /tmp/uld/install.sh
responses:
\*\*\*\* Press 'Enter' to continue or 'q' and then 'Enter' to quit\. \:: "\n y\n"
shell: bash /tmp/uld/install.sh
- name: allow access to cups from network
replace: