0
私はAnsible 2.4.0を持っています。私はAnsible Jenkins DevOps Roles documentationに基づいジェンキンスプロキシを設定しようとしています:jenkins_configure_proxy役割が不明である
ERROR:
- hosts: master
roles:
- jenkins_configure_proxy:
jenkins_home: "{{ jenkins_home }}"
proxy_host: "{{ proxy_host }}"
proxy_port: "{{ proxy_port }}"
become: true
environment: "{{proxy_env}}"
は私が手ansible_playbookを実行しようとすると!役割の定義はjenkins_plugin
作業罰金のような他の役割ので、それはかなり奇妙な
The error appears to have been in '/Users/me/projects/jenkins/jenkins.yml': line 10, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- jenkins_configure_proxy:
^here
ロール名が含まれている必要があります。
私は間違っていますか?
おかげで、それはまだ同じエラー発生させ – dzieciou
「ERRORをロール 『jenkins_configure_proxy』の中で見つかりませんでした...!」 '。/ roles /'ディレクトリの下に 'jenkins_configure_proxy'がありますか? –