{"author_name":"akira6592","height":"190","provider_url":"https://hatena.blog","title":" [Ansible] true \u304b false \u304b null \u304b\u3067\u8fd4\u3059\u5024\u3092\u5909\u3048\u308b ternary \u30d5\u30a3\u30eb\u30bf\u30fc ","width":"100%","provider_name":"Hatena Blog","published":"2020-12-26 14:08:15","description":"\u306f\u3058\u3081\u306b ternary \u30d5\u30a3\u30eb\u30bf\u30fc\u306f\u3001\u5bfe\u8c61\u306e\u5024\u304c true \u304b false \u304b\u306b\u5fdc\u3058\u3066\u5225\u306e\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002 Jinja2 \u306e if \u3092\u3044\u308c\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u3067\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u74b0\u5883 ansible 2.9.14 true \u304b false \u304b \u3053\u306e2\u5024\u3067\u5206\u3051\u308b\u65b9\u6cd5\u3067\u3059\u3002 Playbook ternary \u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u7b2c1\u5f15\u6570\u306b\u306f\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u5bfe\u8c61\u304c true \u306e\u5834\u5408\u306e\u5024\u3001\u7b2c2\u5f15\u6570\u306b\u306f false \u306e\u5834\u5408\u306b\u8fd4\u3059\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 --- - hosts: localhost gather_facts: false tasks: - name: ternary test d\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2020%2F12%2F26%2Fansible_ternary\" title=\" [Ansible] true \u304b false \u304b null \u304b\u3067\u8fd4\u3059\u5024\u3092\u5909\u3048\u308b ternary \u30d5\u30a3\u30eb\u30bf\u30fc  - \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>","url":"https://tekunabe.hatenablog.jp/entry/2020/12/26/ansible_ternary","categories":["ansible"],"type":"rich","author_url":"https://blog.hatena.ne.jp/akira6592/","blog_title":"\u3066\u304f\u306a\u3079","version":"1.0","image_url":null,"blog_url":"https://tekunabe.hatenablog.jp/"}