Hi,
Running `tox -e yamllint` in my role directory shows that the following
lines in my tasks/main.yml are too long:
~~~
- name: Perform platform/version specific tasks
include_tasks: "{{ lookup('first_found', __rolename_ff_params) }}"
vars:
__rolename_ff_params:
files:
- "{{ ansible_facts['distribution'] }}_{{
ansible_facts['distribution_version'] }}.yml"
- "{{ ansible_facts['distribution'] }}_{{
ansible_facts['distribution_major_version'] }}.yml"
~~~
The last two lines are too long. I've attached the code as well, in case
my MUA messes with the linebreaks here.
How could I solve this? Can I use Multi Line Strings in YAML
dictionaries too?
Could someone give an example please on how to solve this?
Thanks in advance for your help.
Joerg
--
Jörg Kastning
Plattformen und Serverdienste
BITS - Bielefelder IT-Servicezentrum
Universität Bielefeld