in ansible use the environment: keyword for that task to set display On Mon, Jun 8, 2015 at 8:01 PM, Emil Kacperski <[email protected]> wrote: > Another problem is with bringing up a chromium-browser, wrote a little > script and it works fine. But when I run it using the shell module I get > the following: > > Gtk: cannot open display > > > Made sure that export DISPLAY=:0 is in the script, also tried to run a task > to export, it simply does not work. Anyone tried to bring up a chrome > browser on a remote machine? > > > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/1b896615-7d60-47a7-94c7-694d69d6ef6e%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout.
-- Brian Coca -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DAH64rOZZE3mFNsxbn%2BMv4krt2sbsVhng9Vi7Xt3kBFQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
