1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update shell.py ()

* Update shell.py

<!--- Your description here -->
Add example for disabling warnings to shell module
+label: docsite_pr

* Fix PEP8 issues
This commit is contained in:
Steve Dodd 2018-08-22 20:31:55 -06:00 committed by Jordan Borean
parent 4c8808ec9d
commit c89dfad846

View file

@ -119,6 +119,12 @@ EXAMPLES = '''
args:
executable: /usr/bin/expect
delegate_to: localhost
# Disabling warnings
- name: Using curl to connect to a host via SOCKS proxy (unsupported in uri). Ordinarily this would throw a warning.
shell: curl --socks5 localhost:9000 http://www.ansible.com
args:
warn: False
'''
RETURN = '''