'>-' is the same as '>' but it omits the final newline.  I.e. the last char 
of the corresponding block of text will be the actual last char of the last 
line, and not  '\n' as in case of '>'.

On Sunday, April 23, 2017 at 5:12:35 PM UTC-7, Bruce Auyeung wrote:
>
> there are some tasks like this in kargo project
>
> - name: Register docker images info
>   raw: >-
>     {{ docker_bin_dir }}/docker images -q | xargs {{ docker_bin_dir 
> }}/docker inspect -f "{{ '{{' }} .RepoTags {{ '}}' }},{{ '{{' }} 
> .RepoDigests {{ '}}' }}"
>   no_log: true
>   register: docker_images_raw
>   failed_when: false
>   check_mode: no
>   when: not download_always_pull|bool
>
>
> there is a 
> >-
>
> after 
> raw:
>
> i have no idea what does it mean
> i know  
> >
>
> in yaml can let user write a real single line to multiple lines.
>

-- 
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/4adf3963-2b59-4dbc-8c16-506e140ae019%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to