yes this is the task. only "mv" fails...
- name: example_client | download archived dist, unpack and cleanup
command: "{{item}}"
with_items:
- curl -H "Authorization:token {{ git_token }}" -L -o
/var/www/example.zip
"https://api.github.com/repos/user/example_client/zipball/gh-pages"
- unzip /var/www/example.zip -d /var/www
- *mv* "/var/www/`ls /var/www/ | grep client`" "/var/www/example_new"
tags:
- deploy
On Sunday, February 9, 2014 6:14:07 AM UTC-7, Brian Coca wrote:
>
> can you show the play/tasks involved?
>
--
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].
For more options, visit https://groups.google.com/groups/opt_out.