変数 参考: Using Variables | Ansible Documentation [Official] 定義済み変数 参考: Special Variables | Ansible Documentation […]
Category: Ansible
Playbooks [Ansible]
Playbooks 参考: Working With Playbooks | Ansible Documentation [Offcial] 導入 参考: Ansible を使ってみる playbook 編 | iwam […]
コールバックプラグインの使い方 (Callback Plugins) [Ansible]
Callback Plugins 参考: Callback Plugins | Ansible Documentation [Official] 使い方 参考: Ansible の callback plugin を使っ […]
ディクショナリの操作 (dict) [Ansible]
ディクショナリの操作 (dict) 参考: Ansible の Jinja2 を活用する | ほげめも Extracting dictionary values into a list | /dev/blog/ID10T […]
SSH の設定 [Ansible]
SSH の設定 参考: ansible.cnf で ssh_config を設定する | DevelopersIO Changing the SSH port with Ansible | dmsimard.com Ho […]
ファイルをダウンロードする方法 (get_url) [Ansible]
get_url 参考: get_url – Downloads files from HTTP, HTTPS, or FTP to node — Ansible Documentation [Official […]
よく使うモジュール [Ansible]
〔ABC順〕 blockinfile 参考: blockinfile – Insert/update/remove a text block surrounded by marker lines | Ansi […]
リストを使った繰り返し処理の方法 (with_items) [Ansible]
リストを使った繰り返し処理の方法 (with_items) 参考: with_items ループまとめ – Qiita Ansible の with_items で複数の変数を利用する | かべぎわブログ v […]
ログの設定 [Ansible]
log_path ansible.cfg で log_path を設定する。 # ansible.cfg [defaults] log_path=/var/tmp/ansible.log 参考: ログを吐く設定 | we […]
チェックモードの使い方 [Ansible]
チェックモードの使い方 チェックモードで実行する。(変更を反映しない = ドライラン) $ ansible-playbook foo.yml –check check_mode: no を指定したタスクはチェックモード […]