<?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>（このツイートのブログ版です） どこで聞いたか覚えてないのですが、Ansible の Playbook のタスクで 「when による条件をつけるとき、タスクの最後に指定するのが違和感がある。プログラムの if 分だと頭につけるが。」という意見があって、when はどこでもOKということを思い出しました。when に限らず順番関係ないですよね。 pic.twitter.com/kH33DMy4ON— よこち (@akira6592) August 11, 2018 ■ はじめに Ansible の Playbook では、特定の条件を満たすときのみそのタスクを実行するという指定に when が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2018%2F08%2F12%2Fansible_when&quot; title=&quot;【Ansible】when はタスクの最後に指定しなくても良い - てくなべ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/akira6592/20170902/20170902221811.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-12 13:36:24</published>
  <title>【Ansible】when はタスクの最後に指定しなくても良い</title>
  <type>rich</type>
  <url>https://tekunabe.hatenablog.jp/entry/2018/08/12/ansible_when</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
