<?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>はじめに AWS上のEC2インスタンスの情報を動的にインベントリとして利用できる、amazon.aws.aws_ec2というインベントリープラグインがあります。 その中に、include_filtersというオプションがあり、Nameタグの情報などで抽出条件を指定できます。 include_filters ということで複数形なので条件も複数指定できるのですが、どう指定すると and なのか or なのか初見では分かりにくかったです。 自分で試してみた結果をまとめます。 環境 ansible 5.4.0 ansible-core 2.12.3 amazon.aws コレクション 2.1.0 前提…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2022%2F06%2F08%2F225705&quot; title=&quot; [Ansible] aws_ec2 インベントリープラグインのinclude_filtersのand/or条件の指定方法 - てくなべ&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>2022-06-08 22:57:05</published>
  <title> [Ansible] aws_ec2 インベントリープラグインのinclude_filtersのand/or条件の指定方法</title>
  <type>rich</type>
  <url>https://tekunabe.hatenablog.jp/entry/2022/06/08/225705</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
