Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy method: unarchive | Unable to pass extra_opts #383

Closed
NoxInmortus opened this issue Apr 8, 2022 · 1 comment
Closed

Deploy method: unarchive | Unable to pass extra_opts #383

NoxInmortus opened this issue Apr 8, 2022 · 1 comment

Comments

@NoxInmortus
Copy link

Hello,

The task unarchive does not use the extra_opts option for the unarchive modules.

That's unfortunate as it results in issue such as when a compressed file contains the folder we wish to use
Using such vars:

limesurvey_version: limesurvey3.28.5+220405
ansistrano_get_url: https://download.limesurvey.org/lts-releases/{{ limesurvey_version }}.zip
ansistrano_get_date: "{{ lookup('pipe', 'date -u +%Y%m%d%H%M%SZ') }}"
ansistrano_release_version: '{{ limesurvey_version }}-{{ ansistrano_get_date }}'

A release folder will be created:
/var/www/limesurvey/releases/limesurvey3.28.5+220405-20220408115240Z

And the content will be :

$ ls /var/www/limesurvey/releases/limesurvey3.28.5+220405-20220408115240Z
limesurvey  REVISION

$  ls /var/www/limesurvey/releases/limesurvey3.28.5+220405-20220408115240Z/limesurvey/
admin  application  assets  composer.json  CONTRIBUTING.md  docs  framework  index.php  installer  locale  manifest.yml  phpci.yml  phpunit.xml  plugins  README.md  tests  themes  third_party  tmp  upload

As you can see, I would need the content of /var/www/limesurvey/releases/limesurvey3.28.5+220405-20220408115240Z/limesurvey to be one level above of the tree.

@ricardclau
Copy link
Member

ricardclau commented Jun 14, 2022

Should be fixed in 3.12.0 we just published 3.11.0...3.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants