unable to get password protected archived files unarchived using ansible module "unarchive"

15 views
Skip to first unread message

Sandeep Panchal

unread,
Nov 27, 2017, 6:28:28 AM11/27/17
to Ansible Project


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/ ...

Sandeep Panchal

unread,
Nov 28, 2017, 8:57:07 AM11/28/17
to Ansible Project
can someone help on this problem statement.
Reply all
Reply to author
Forward
0 new messages