[defaults] # インベントリファイルのデフォルトを指定 inventory = production.ini # Ansible Vault のパスワードが記載されたファイルパスを指定 vault_password_file = .ansible_password # メッセージの表示方法をJSON形式ではなくYAML形式に変える stdout_callback = yaml # SSH接続時のホストキーチェック(初回のyes/no確認)をスキップしたい場合は有効化 host_key_checking = False # ファクトの自動収集 # fact_caching_timeout = 0 は無期限 #gathering = implicit gathering = smart fact_caching = jsonfile fact_caching_prefix = fact_caching_timeout = 0 fact_caching_connection = .ansible_cache #gathering = explicit # SSH接続を維持してタスク実行を高速化 [ssh_connection] pipelining = True