It looks like you’re trying to execute a command that requires a running x server?
On Fri, 14 Feb 2020 at 17:55, J Driz <[email protected]> wrote: > *Hi,* > > *Im trying to turn off a wacom tablet's touch:* > > --- > > - hosts: computer > > tasks: > > - name: turn wacom touch off > shell: xsetwacom --set "Wacom Intuos5 touch M Finger touch" TOUCH > off > become: yes > > > *But i keep getting this error.* > > PLAY [computer] > ************************************************************************************************************** > > TASK [Gathering Facts] > *********************************************************************************************************************** > ok: [computer] > > TASK [turn wacom touch off] > ****************************************************************************************************************** > fatal: [computer]: FAILED! => {"changed": true, "cmd": "xsetwacom --set > \"Wacom Intuos5 touch M Finger touch\" TOUCH off", "delta": > "0:00:00.003890", "end": "2020-02-14 12:30:53.170948", "msg": "non-zero > return code", "rc": 255, "start": "2020-02-14 12:30:53.167058", "stderr": > "Failed to open Display .", "stderr_lines": ["Failed to open Display ."], > "stdout": "", "stdout_lines": []} > > PLAY RECAP > *********************************************************************************************************************************** > computer : ok=1 changed=0 unreachable=0 failed=1 skipped=0 > rescued=0 ignored=0 > > > *Is there a way to make this happen? * > > *Thanks* > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/a25faaed-fdcb-4719-9398-c28b5257740a%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/a25faaed-fdcb-4719-9398-c28b5257740a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Sent from a mobile device - please excuse the brevity, spelling and punctuation. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwP4Les3RRAMYN%2BeikOBEXoQ8WAZ%3D%3Dv3aSh-bhM_tetkgw%40mail.gmail.com.
