diff --git a/lib/ansible/modules/files/unarchive.py b/lib/ansible/modules/files/unarchive.py index 44651cf994..a6a9569190 100644 --- a/lib/ansible/modules/files/unarchive.py +++ b/lib/ansible/modules/files/unarchive.py @@ -118,6 +118,14 @@ EXAMPLES = r''' src: https://example.com/example.zip dest: /usr/local/bin 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