<?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 には、IP アドレスを扱うための様々なフィルターがあります。 docs.ansible.com その中に ipsubnet というフィルターがあります。 このフィルターにはいくつか機能があり、例えば「10.0.0.0/24」内で /25 で区切ったときの N 番目のサブネットは何か求められます。 この記事では簡単な例でご紹介します。 動作確認環境 Ansible 2.9.19 書式 ipsubnet(親サブネット, 何番目) サンプルPlaybook サンプルのPlaybookと出力例をコメントで記載します。 --- - hosts: localhost gather…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2021%2F04%2F25%2Fansible_ipsubnet&quot; title=&quot; [Ansible] 親サブネットから利用可能な子サブネットを求める ipsubnet フィルター - てくなべ&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>2021-04-25 15:17:53</published>
  <title> [Ansible] 親サブネットから利用可能な子サブネットを求める ipsubnet フィルター</title>
  <type>rich</type>
  <url>https://tekunabe.hatenablog.jp/entry/2021/04/25/ansible_ipsubnet</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
