New-Edge-Engineering/ansible-rundeck — pull request #6 by flyte (2014-11-20 15:52:18+00:00)
Title: Correct multiline string syntax

Avoid breaking syntax highlighting in editors. See http://symfony.com/doc/current/components/yaml/yaml_format.html#strings

There's some inconsistency about usage of YAML dicts and strings for multiline arguments to modules for example:

Arguments to unarchive in dict format
```yaml
- name: Rundeck - MySQL | unarchive jdbc driver
unarchive:
dest: /tmp
src: /tmp/mysql-connector-java-3.0.17-ga.tar.gz
copy: no
tags:
- rundeck
- jdbc
- mysql
```

vs

Arguments to lineinfile in string format
```yaml
- name: Rundeck - MySQL | update database connection in configuration
lineinfile: >
dest=/etc/rundeck/rundeck-config.properties
regexp="^dataSource.url"
line="dataSource.url=jdbc:mysql://{{ rundeck_database_host }}:{{ rundeck_database_port }}/{{ rundeck_database_name }}"
notify:
- restart rundeck
tags:
- rundeck
- configuration
- mysql
```

This PR fixes the syntax for the string format versions (by placing the '>' on the line before the string starts), but doesn't go as far as choosing which format to go with over all.