mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Make command warnings off by default to minimize surprises.
This commit is contained in:
@@ -43,10 +43,10 @@ options:
|
||||
version_added: "0.9"
|
||||
warn:
|
||||
description:
|
||||
- turn off warnings about running a command that is provided by an Ansible module.
|
||||
- if command warnings are on in ansible.cfg, do not warn about this particular line if set to no/false.
|
||||
required: false
|
||||
default: True
|
||||
version_added: "1.5"
|
||||
version_added: "1.8"
|
||||
notes:
|
||||
- If you want to execute a command securely and predictably, it may be
|
||||
better to use the M(command) module instead. Best practices when writing
|
||||
|
||||
Reference in New Issue
Block a user