{"height":"190","version":"1.0","url":"https://tekunabe.hatenablog.jp/entry/2024/01/19/191357","provider_name":"Hatena Blog","blog_title":"\u3066\u304f\u306a\u3079","blog_url":"https://tekunabe.hatenablog.jp/","type":"rich","author_name":"akira6592","categories":["ansible"],"title":" [Ansible] ansible-lint \u3067 hosts \u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306b\u5909\u6570\u304c\u542b\u307e\u308c\u308b\u3068\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u68482\u3064","published":"2024-01-19 19:13:57","author_url":"https://blog.hatena.ne.jp/akira6592/","image_url":null,"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2024%2F01%2F19%2F191357\" title=\" [Ansible] ansible-lint \u3067 hosts \u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306b\u5909\u6570\u304c\u542b\u307e\u308c\u308b\u3068\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u68482\u3064 - \u3066\u304f\u306a\u3079\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","description":"\u306f\u3058\u3081\u306b hosts: \"{{ targets }}\" \u306e\u3088\u3046\u306b\u3001hosts \u306b\u5909\u6570\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3068\u3001ansible-lint \u306e\u30c1\u30a7\u30c3\u30af\u3067\u5909\u6570\u672a\u5b9a\u7fa9\u306e\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002 $ ansible-lint debug.yml WARNING Listing 1 violation(s) that are fatal syntax-check[specific]: The field 'hosts' has an invalid value, which includes an undefined variable. The error was: 'targets' is undefined\u2026"}