I don't see a question?
And what do you mean by this playbook being pet of a playbook task?
Where is that code? Do we need to guess again what that looks like?

On Tue, 26 Jul 2022 at 02:23, Tony Wong <tdubb...@gmail.com> wrote:

> 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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/510cb366-ef13-4e1d-882e-f3db12d3ce7cn%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/510cb366-ef13-4e1d-882e-f3db12d3ce7cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from Gmail Mobile

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLZB3h4U1jTGZ_tUvp2si13_cUgO%3DGjZHySvuD9inR_n3Q%40mail.gmail.com.

Reply via email to