Dear Team I am trying to use ansible module unarchive with option 
extra_opts, Please help me get it understood well. below is what i am 
trying with a password protected file unzip using this module but appears 
to be not helping me. $ cat playbook-version03-zip-wrong.yml --- - name: 
Playbook for unarchive zip file hosts: all become: true gather_facts: false 
tasks: - name: Ensuring required package present for unzip task yum: name: 
unzip state: latest - name: create temp directory for extract file: path: 
/tmp/nopassword/ state: directory - name: unarchive files unarchive: 
extra_opts: - -P - redhat123 src: password-protected.zip dest: 
/tmp/nopassword/ ...

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8c5f59c1-88c6-4a5a-b9d9-26c44bd880e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to