I sucessully ran this play as a single play

---
- hosts: localhost
  name: test
  tasks:
  - name: run rke installer 
    shell: 'rke up'
    args:
      chdir: "/home/rke"      
    become: yes
    become_user: "rke"
    delegate_to: localhost
    register: result
  - debug:
      msg: "{{ result }} "


however this did not work as part of a playbook task


-- 
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/510cb366-ef13-4e1d-882e-f3db12d3ce7cn%40googlegroups.com.

Reply via email to