<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>holtit_32</author_name>
  <author_url>https://blog.hatena.ne.jp/holtit_32/</author_url>
  <blog_title>一歩</blog_title>
  <blog_url>https://holtit.hatenablog.jp/</blog_url>
  <categories>
    <anon>Ansible</anon>
  </categories>
  <description>はじめに タイトルの通り。両方指定した場合、どのように動作するのか気になったので検証した。 はじめに ignore_errorsとfailed_whenについて 環境 検証用Playbook 実行 おわりに 疑問点 参考 ignore_errorsとfailed_whenについて ignore_errors タスクがエラーになっても無視し処理を継続する。 failed_when 条件式を記述し、条件を満たした時にタスクの結果に関わらずステータスをfailedにする。 環境 面倒なので全部。 root@84212b237d2f:~/ansible# ansible --version ansib…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fholtit.hatenablog.jp%2Fentry%2F2024%2F12%2F04%2F145149&quot; title=&quot;【Ansible】ignore_errorsとfailed_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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-12-04 14:51:49</published>
  <title>【Ansible】ignore_errorsとfailed_whenを両方書いた時の挙動</title>
  <type>rich</type>
  <url>https://holtit.hatenablog.jp/entry/2024/12/04/145149</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
