diff --git a/playbooks/srv-print.yml b/playbooks/srv-print.yml index b4c1132..79d7444 100644 --- a/playbooks/srv-print.yml +++ b/playbooks/srv-print.yml @@ -1,9 +1,4 @@ - hosts: srv-print - vars_prompt: - - name: printer prompt - prompt: "**** Press 'Enter' to continue or 'q' and then 'Enter' to quit. :" - private: no - become: yes tasks: - name: create admin user @@ -38,7 +33,10 @@ remote_src: yes - name: run the printer driver installer - shell: bash /tmp/uld/install.sh + expect: + command: bash /tmp/uld/install.sh + responses: + "**** Press 'Enter' to continue or 'q' and then 'Enter' to quit. :": "\n" - name: allow access to cups from network replace: