Re: [ansible-project] Yaml statement over multiple lines.

2018-02-13 Thread Kai Stian Olstad
On Tuesday, 13 February 2018 13.25.24 CET mail.philfri...@gmail.com wrote: > How should I split this dest: statement into multiple lines ? > > - copy: > content: "{{ config.stdout[0] }}" > *dest: "{{ backup_root }}/{{ inventory_hostname }}/dhcp_leases_{{ > ansible_date_time.ye

[ansible-project] Yaml statement over multiple lines.

2018-02-13 Thread mail . philfriend
Hi, How should I split this dest: statement into multiple lines ? - copy: content: "{{ config.stdout[0] }}" *dest: "{{ backup_root }}/{{ inventory_hostname }}/dhcp_leases_{{ ansible_date_time.year }}{{ ansible_date_time.month }}{{ ansible_date_time.day }}{{ ansible_date_time