<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>merrywhite</author_name>
  <author_url>https://blog.hatena.ne.jp/merrywhite/</author_url>
  <blog_title>CAFE BREAK</blog_title>
  <blog_url>https://cafebreak.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>AnsibleでWindowsコマンド実行すると結果に日本語が含まれる場合は、文字化けしてしまいます。 ということで、いろいろと調べてみたのですが、やはり、日本語の文字化けの対策が採用しているバージョンだと難しいことがわかりました。 次に、WinRMでリモート操作を考えたのですが、ワークグループ環境の場合、リモート先の設定も必要になり、これまた不採用。 ということで、ちょっと手数は増えますが、以下のサイトが参考になりました。 【Ansible Tower／AWX】バッチファイルで日本語が文字化けした時の対処方法 | 秋拓技術学院 どうやらAnsible経由でコマンドを実行すると文字コードの関係…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcafebreak.hatenablog.com%2Fentry%2F2024%2F01%2F28%2F045023&quot; title=&quot;Ansible Windowsコマンド実行結果の日本語文字化け対策にバッチファイル - CAFE BREAK&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>https://m.media-amazon.com/images/I/51OW78p8ryL._SS160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-01-28 04:50:23</published>
  <title>Ansible Windowsコマンド実行結果の日本語文字化け対策にバッチファイル</title>
  <type>rich</type>
  <url>https://cafebreak.hatenablog.com/entry/2024/01/28/045023</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
