The syntax in the porting guide is also deprecated for the same
reason.  How does this look as an updated example?

      tasks:
        # These are both deprecated:
        - debug: "{{debug_params}}"
        - debug:
          args: "{{debug_params}}"

        # Use this instead:
        - debug:
            msg: "{{debug_params['msg']}}"

-Toshio

On Wed, Jan 13, 2016 at 10:50 AM, Jacob Weber <[email protected]> wrote:
> Thanks for all the replies.
>
> The deprecation of "using variables for task parameters" makes sense now.
> But the example in the porting guide doesn't use "args", it uses:
> - debug: "{{debug_params}}"
> Maybe that could be clarified.
>
> Jacob
>
> --
> 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/a4f88a0f-e38c-40fb-a693-57da28bee0b8%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAG9juErPi8nXMWpYEqvu6rtZ5ourDN3QjmTL5ZH9jESz8Xi8-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to