<?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 にはロールの実行に必要な変数のバリデーションができる「Role argument validation」という機能があります。ansible-core 2.11 から利用できます。 どのような変数が必須か、どういう値を取りうるか（選択肢）を、各ロールの meta/argument_specs.yml に定義しておくことで、ロールの呼び出す際、実際の処理をする前に仕様に応じたバリデーションができます。 tekunabe.hatenablog.jp いくつか注意が必要かなと思う点があるので、この記事でまとめます。 環境は以下の通りです。今後のバージョンアップで変更されるか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2024%2F05%2F07%2Fansible_argument_specs_points&quot; title=&quot; [Ansible] meta/argument_specs.yml による Role argument validation の注意点 - てくなべ&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-05-07 18:40:41</published>
  <title> [Ansible] meta/argument_specs.yml による Role argument validation の注意点</title>
  <type>rich</type>
  <url>https://tekunabe.hatenablog.jp/entry/2024/05/07/ansible_argument_specs_points</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
