0
可能性のあるプレイハンドブックは構文エラーをスローしますが、すべて正しいように見えます。 ロールにはどのような問題がありますか?可能なプレイブックの構文エラー
ERROR:役割の問題になる可能性がどのような
The error appears to have been in '/home/Desktop/playbooks/xx.yml': line 6, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- role: chronos_task
^here
CODE
---
- hosts: localhost
connection: local
gather_facts: no
roles:
- role: chronos_task
no_log: true
chronos_url: 'http://{{ chronos_host }}:{{ chronos_port }}'
chronos_tasks:
- type: iso8601
のレコードです。いくつかのYAMLバリデーターは、このチャンクが有効なYAMLであると判断しました。 – castis
はいaws環境でも実行しようとしましたが、構文エラーがどこにあるのかまだ分かりません – Swat