てくなべ (tekunabe)

ansible / network automation / 学習メモ

2020-12-27から1日間の記事一覧

[Ansible] git config に相当する git_config モジュールを試す

はじめに git の設定を行う git config コマンドに相当する git_config モジュールがあります。 というより、最近存在を知りました。簡単な例ですが、まとめます。 動作環境 ansible 2.9.14 Playbook git config --global user.email sakana@example.com git…

[Ansible] ansible-galaxy コマンドの参照先を Automation Hub に変更する

はじめに ansbile-galaxy コマンドは role や collection のインストールなどを行います。 デフォルトでは、Ansible Galaxyを参照します。 設定を変更することで、Automation Hub (レッドハット社提供の配布サービス) に変更できます。 ansible.tower collec…