<?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>
    <anon>ansible-lint</anon>
    <anon>pre-commit</anon>
  </categories>
  <description>はじめに 先日の記事で、ansible-lint コマンドの即時性を高めるには別途仕組みが必要な旨を書きました。今回は、自動化の仕組みとして pre-commit を使って仕込んでみます。 だいぶシンプルな設定に抑えています。 導入 venv への pre-commit のインストール 今回は素の vnev を利用します。ansible-lint はインストールされていない状態ではじめます。 $ pip list Package Version ---------- ------- pip 23.1 setuptools 53.0.0 venv に pre-commit をインストールします。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2023%2F04%2F19%2F102514&quot; title=&quot; [Ansible] pre-commit を使って git commit 前に自動で ansible-lint する - てくなべ&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>2023-04-19 10:25:14</published>
  <title> [Ansible] pre-commit を使って git commit 前に自動で ansible-lint する</title>
  <type>rich</type>
  <url>https://tekunabe.hatenablog.jp/entry/2023/04/19/102514</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
