Ansible module unarchive doesn't work

This commit is contained in:
Michael RICOIS 2016-05-11 11:00:36 +02:00
parent e4db0b701f
commit 3ed4dd23ec

View File

@ -8,8 +8,12 @@
keep_releases: 3
become: yes
tasks:
- name: PMA | Download and Extract
unarchive: src="https://files.phpmyadmin.net/phpMyAdmin/{{ version }}/phpMyAdmin-{{ version }}-all-languages.tar.xz" dest="{{ vhosts }}/releases/phpMyAdmin-{{ version }}-all-languages" copy=no
- name: PMA | Download
get_url: url="https://files.phpmyadmin.net/phpMyAdmin/{{ version }}/phpMyAdmin-{{ version }}-all-languages.tar.xz" dest="{{ vhosts }}/releases/phpMyAdmin-{{ version }}-all-languages.tar.xz"
- name: PMA | Extract
command: "tar xJf {{ vhosts }}/releases/phpMyAdmin-{{ version }}-all-languages.tar.xz"
- name: PMA | Delete
command: "rm -rf {{ vhosts }}/releases/*.tar.xz"
- name: PMA | Config
copy: src="./config/pma.config.inc.php" dest="{{ vhosts }}/releases/phpMyAdmin-{{ version }}-all-languages/config.inc.php"
- name: PMA | Permission