On 25.05.2016 07:23, 'jhawkesworth' via Ansible Development wrote:
Single line ansible module calls can use the key=value key=value
syntax,
but when you are using the multi-line yaml style syntax it needs to be
key:
value
This statement is not correct.
yamllint.com or a yaml-aware text editor can be a help when you are
getting
used to writing playbooks.
Code like this work
- name: Update the Apache config
copy: >
src=httpd.conf
dest=/etc/httpd/httpd.conf
Even dropping the bigger than and it works, also yamllint.com says it is
valid.
More about multiline here
https://support.ansible.com/hc/en-us/articles/201957837-How-do-I-split-an-action-into-a-multi-line-format-
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.