<?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>はじめに 1609948923 のような UNIX タイムスタンプを、2021/01/07 01:02:03 のようなフォーマットに変換する方法です。 これをやりたい機会があって調べてたのですが、思いの外目当ての情報ににたどり着けず・・。 結局ちゃんと公式ドキュメントに書いてありました。公式ドキュメントへの橋渡しを兼ねて記事にします。 環境 Ansible 2.9.14 Jinja2 2.11.2 Playbook strftime を利用します。 --- - hosts: localhost gather_facts: false tasks: - name: debug datetime …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2021%2F01%2F11%2Fansible_ts_datetime&quot; title=&quot; [Ansible] UNIX タイムスタンプを任意の日付時刻フォーマットに変換する strftime - てくなべ&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-01-11 12:52:02</published>
  <title> [Ansible] UNIX タイムスタンプを任意の日付時刻フォーマットに変換する strftime</title>
  <type>rich</type>
  <url>https://tekunabe.hatenablog.jp/entry/2021/01/11/ansible_ts_datetime</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
