<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bftnagoya</author_name>
  <author_url>https://blog.hatena.ne.jp/bftnagoya/</author_url>
  <blog_title>BFT名古屋 TECH BLOG</blog_title>
  <blog_url>https://bftnagoya.hateblo.jp/</blog_url>
  <categories>
    <anon>Ansible</anon>
  </categories>
  <description>こんにちは！ BFT名古屋支店の佐野です。 これまでの記事で、lineinfileとblockinfileという管理対象のテキストファイルに文字列追加、または更新を行なうモジュールを紹介してきました。 これらのモジュール、特にlineinfile関しては指定したテキストを別のテキストに置き換えるということも可能なのですが、その場合単一の文字列の書き換えを行なうことしかできません。 「一定の文字列になっている複数の箇所を、指定の文字列に一度に書き換えたい」といった場合には、lineinfileモジュールではなくreplaceモジュールを使用します。 今回はテキストの書き換えを行なう上でのline…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbftnagoya.hateblo.jp%2Fentry%2F2021%2F03%2F12%2F101305&quot; title=&quot;【Ansible】Ansibleを使ったテキストの書き換え - BFT名古屋 TECH BLOG&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-03-12 10:13:05</published>
  <title>【Ansible】Ansibleを使ったテキストの書き換え</title>
  <type>rich</type>
  <url>https://bftnagoya.hateblo.jp/entry/2021/03/12/101305</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
