postfixadmin: Fix unarchive path
This commit is contained in:
parent
a7d167e474
commit
676464336b
1 changed files with 4 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
- name: create postfixadmin installation directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ postfixadmin_installation_prefix }}"
|
||||
path: "{{ postfixadmin_installation_prefix }}/postfixadmin-{{ postfixadmin_version }}"
|
||||
state: directory
|
||||
owner: root
|
||||
group: www-data
|
||||
|
@ -11,8 +11,9 @@
|
|||
- name: download and unpack postfixadmin release
|
||||
ansible.builtin.unarchive:
|
||||
remote_src: yes
|
||||
src: "https://github.com/postfixadmin/postfixadmin/archive/refs/tags/postfixadmin-{{ postfixadmin_version }}.zip"
|
||||
dest: "{{ postfixadmin_installation_prefix }}"
|
||||
src: "https://github.com/postfixadmin/postfixadmin/archive/refs/tags/postfixadmin-{{ postfixadmin_version }}.tar.gz"
|
||||
dest: "{{ postfixadmin_installation_prefix }}/postfixadmin-{{ postfixadmin_version }}"
|
||||
extra_opts: [ "--strip-components=1" ]
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: 0755
|
||||
|
|
Loading…
Add table
Reference in a new issue