<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masami256</author_name>
  <author_url>https://blog.hatena.ne.jp/masami256/</author_url>
  <blog_title>φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ</blog_title>
  <blog_url>https://kernhack.hatenablog.com/</blog_url>
  <categories>
    <anon>ansible</anon>
  </categories>
  <description>Ansibleのplaybookを書いていて、ファイルをダウンロードする前にログインが必要な場合にどうすればよいのかを調べたのでめも。 使用してるAnsibleのバージョンは2系です。 curlで例えると、--userでIDとパスワードを↓のように渡すのをansibleでどうやるかってところです。 curl --user username:password -L https://www.example.com/foobar.zip -o foobar.zip で、解決策は我らがstackoverflow.comにありました。 stackoverflow.com 必要なのはforce_basic…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2016%2F04%2F21%2F213957&quot; title=&quot;Ansibleのget_urlでログインが必要なwebページからファイルをダウンロードする - φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ&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>http://ecx.images-amazon.com/images/I/51dnLbo9P9L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-04-21 21:39:57</published>
  <title>Ansibleのget_urlでログインが必要なwebページからファイルをダウンロードする</title>
  <type>rich</type>
  <url>https://kernhack.hatenablog.com/entry/2016/04/21/213957</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
