<?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>■ はじめに ansible-playbook コマンドを実行中、流れる実行ログを眺めながら「あとどのくらいのタスクが残っているんだろう？」と考えたことはありませんでしょうか。 counter_enabled というコールバックプラグインを利用すると、全タスク中の何タスク目なのかが分かるようになります。 カウンター表示 ansible.cfg では以下のように設定します。 [defaults] stdout_callback = counter_enabled 環境変数でも設定できます。 export ANSIBLE_STDOUT_CALLBACK=counter_enabled この記事では…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2019%2F08%2F29%2Fansible_counter_enabled&quot; title=&quot; [Ansible] 実行ログで全タスク中の何タスク目なのかを表示する counter_enabled コールバックプラグインを検証する - てくなべ&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://cdn-ak.f.st-hatena.com/images/fotolife/a/akira6592/20190829/20190829090543.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-29 09:08:28</published>
  <title> [Ansible] 実行ログで全タスク中の何タスク目なのかを表示する counter_enabled コールバックプラグインを検証する</title>
  <type>rich</type>
  <url>https://tekunabe.hatenablog.jp/entry/2019/08/29/ansible_counter_enabled</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
