Simple query on usage of ">" in tasks.

I am going through a playbook, where the tasks have the following format:

  • name: Start and add that the metadata service to the init sequence (Ubuntu)

service: >

name=ceph-mds

state=started

enabled=yes

args=“id={{ ansible_hostname }}”

when: ansible_distribution == “Ubuntu”

I didn’t get the “>” on the line “service: >”. I have never used it that way and was curious what it does.

regards,

Behzad

it is a YAMLism, allows for multiline content, you may have also seen