<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akira6592</author_name>
  <author_url>https://blog.hatena.ne.jp/akira6592/</author_url>
  <blog_title>てくなべ</blog_title>
  <blog_url>https://tekunabe.hatenablog.jp/</blog_url>
  <categories>
    <anon>ansible</anon>
  </categories>
  <description>利用できない変数名を利用しようとしてハマったことはありませんでしょうか。 私はあります。 変数名に使える文字は公式ドキュメントに掲載されています。一度目を通しておくと、ハマらなくて済みそうです。 docs.ansible.com 上記は devel ブランチのドキュメントで、最近 _ で始まる変数名も有効であることが明記されました。 ルールを私なりにまとめると以下のとおりです。 アルファベットか、_ で始める（数字や、他の記号始まりはだめ） _ は含められる（- はだめ） Python のキーワード、Playbook キーワード はだめ</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2020%2F06%2F12%2Fansible_valid_variable_name&quot; title=&quot; [Ansible] 変数名に使える文字 - てくなべ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-06-12 20:50:34</published>
  <title> [Ansible] 変数名に使える文字</title>
  <type>rich</type>
  <url>https://tekunabe.hatenablog.jp/entry/2020/06/12/ansible_valid_variable_name</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
