diff --git a/playbooks/srv-print.yml b/playbooks/srv-print.yml index 4fb8858..b519475 100644 --- a/playbooks/srv-print.yml +++ b/playbooks/srv-print.yml @@ -32,17 +32,18 @@ dest: /tmp/ remote_src: yes - - name: remove install prompt from driver installer - replace: - path: /tmp/uld/install.sh - regexp: 'show_nls_message_no_nl "\*\*\*\* Do you want to continue to install scan driver \? \[y\/n\] \: "' - replace: 'CONTINUE_INSTALL="y"' - - - name: remove eula prompt from driver installer + - name: remove prompts from the installer replace: path: /tmp/uld/noarch/pre_install.sh - regexp: 'EULA_PAGER\="\$\{PAGER\:\-`which more`\}"' - replace: 'exit 0' + regexp: 'read' + replace: 'echo' + + # dont think this is necessary + # - 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