keep on getting “m.yml must be stored as a dictionary/hash” in playbook despite having no comments or space.
Any clue?
[Main.yml]
`
- name: Include all .yml
include_vars:
dir: ‘tasks’
extensions: - json
- yml
#(OR)
- name: Include all .yml files except bastion.yml (2.3)
include_vars:
dir: ‘vars’
ignore_files: ‘bastion.yml’
extensions: [‘yml’]
`
[task-1.yml]
`