On Tuesday, 4 December 2018 16:35:09 CET Dimitri Yioulos wrote:
> Sorry, Kai, I'm not understanding what the playbook should look like.  I'm 
> a bit slow on the uptake.

- hosts: all
  gather_facts: false
  become: yes
  become_method: su
  become_flags: '-'

  tasks:
    - shell: /scripts/dnscopy.pl -f
      register: script_output
    - debug:
        var: script_output.stdout_lines

-- 
Kai Stian Olstad


-- 
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/1697737.te71uTsx4R%40x1.
For more options, visit https://groups.google.com/d/optout.

Reply via email to