Парни нужна помощь, запускаю playbook и он выдает следующую ошибку
root@Umbrella:~# ansible-playbook mikrotik_dev.yml
ERROR! We were unable to read either as JSON nor YAML, these are the errors we got from each:
JSON: No JSON object could be decoded
Syntax Error while loading YAML.
mapping values are not allowed in this context
The error appears to be in '/root/mikrotik_dev.yml': line 33, column 11, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name "copy sert on client dev"
action: "command scp -oStrictHostKeyChecking=no template_configs/mikrotik_def_confl_{{ name }}.rsc {{ ssh_user }}@{{ ssh_ip }}:"
^ here
We could be wrong, but this one looks like it might be an issue with
missing quotes. Always quote template expression brackets when they
start a value. For instance:
with_items:
- {{ foo }}
Should be written as:
with_items:
- "{{ foo }}"
что это может быть?