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/7ec9ecf9-e0c9-49d8-9d14-d29ba511fc7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.