Ansible-lint при запуске GitHub Actions выдает следующую ошибку:
==> Linting /github/workspace/playbook.yml…
Couldn't parse task at /github/workspace/roles/misc/tasks/configure/configure-debian.yml:2 (conflicting action statements: hostname, __line__
The error appears to be in '<unicode string>': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
(could not open file to display line))
{ 'hostname': { '__file__': '/github/workspace/roles/misc/tasks/configure/configure-debian.yml',
'__line__': 4,
'name': '{{ hostname }}'},
'name': 'Setting hostname'}
Сам файл выглядит так:
---
- name: Setting hostname
hostname:
name: "{{ hostname }}"
В чем здесь ошибка?