gather_facts
除了在游戏级别之外还有其他方法可以关闭吗?如果我想永久禁用它,有没有办法在或清单文件中做到这一点ansible.cfg
?
从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
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2192 次 |
最近记录: |