前のエントリーとよく似た内容ですが・・・ Ansibleで以下のようなエラーに遭遇しました。 TASK: [test | put log4j.properties] ***************************** fatal: [staging100.bacchi.me] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'log4j' is undefined", 'failed': True} fatal: [staging100.bacchi.me] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'log4j' is undefined", 'failed': True} FATAL:
![Ansibleのtemplateモジュールを使う場合、変数に『.』があるとエラーになる](https://cdn-ak-scissors.b.st-hatena.com/image/square/41763e4ec3a7bbbe3d6d819d8197e671d5397bb9/height=288;version=1;width=512/https%3A%2F%2Fi0.wp.com%2Fbacchi.me%2Fwp-content%2Fuploads%2F2015%2F03%2Fansible-e1425987314229.jpeg%3Ffit%3D158%252C160%26ssl%3D1)