<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>innossh</author_name>
  <author_url>https://blog.hatena.ne.jp/innossh/</author_url>
  <blog_title>Usual Software Engineer</blog_title>
  <blog_url>https://innossh.hatenablog.com/</blog_url>
  <categories>
    <anon>Ansible</anon>
    <anon>slurp</anon>
  </categories>
  <description>はい。すいませんネタ切れですｗ 今回は小ネタも小ネタ、 Ansible の slurp モジュールについてです。 大して書くこともないので過去の Ansible の記事も貼っておきます。 innossh.hatenablog.com innossh.hatenablog.com innossh.hatenablog.com innossh.hatenablog.com さて本題ですが、 Ansible を実行する際に対象のホスト上のファイルの内容を読み取って、その値を使って何か操作を行いたい時があります。例えば /var/log/message 内の特定のログを取得して、特定のサービスを再起動…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finnossh.hatenablog.com%2Fentry%2F2019%2F09%2F07%2F162859&quot; title=&quot;Ansible でリモートのファイルの内容を読み取る方法 - Usual Software Engineer&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>2019-09-07 16:28:59</published>
  <title>Ansible でリモートのファイルの内容を読み取る方法</title>
  <type>rich</type>
  <url>https://innossh.hatenablog.com/entry/2019/09/07/162859</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
