「ansible.cfg」またはマニフェストファイルで「gather_facts」をオフにします。

「ansible.cfg」またはマニフェストファイルで「gather_facts」をオフにします。

gather_factsゲームレベル以外の方法はありませんか?永久に無効にしたい場合は、ansible.cfgマニフェストファイルまたはマニフェストファイルで実行する方法はありますか?

ベストアンサー1

からansible.cfg

# plays will gather facts by default, which contain information about
# the remote system.
#
# smart - gather by default, but don't regather if already gathered
# implicit - gather by default, turn off with gather_facts: False
# explicit - do not gather by default, must say gather_facts: True
gathering = explicit

おすすめ記事