mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 22:51:23 -07:00
Add example to clear the usage of extra_opts
(#31873)
This commit is contained in:
parent
70d49f7616
commit
72657ce815
1 changed files with 8 additions and 0 deletions
|
@ -118,6 +118,14 @@ EXAMPLES = r'''
|
||||||
src: https://example.com/example.zip
|
src: https://example.com/example.zip
|
||||||
dest: /usr/local/bin
|
dest: /usr/local/bin
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
|
|
||||||
|
- name: Unarchive a file with extra options
|
||||||
|
unarchive:
|
||||||
|
src: /tmp/foo.zip
|
||||||
|
dest: /usr/local/bin
|
||||||
|
extra_opts:
|
||||||
|
- --transform
|
||||||
|
- s/^xxx/yyy/
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import binascii
|
import binascii
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue