weird behaviour. it does not pull sources from repo.
Closed this issue · 4 comments
don't understand whats happening. i think it is not related with ansible.symfony2 but please advise.....
i have left to test only this task:
- name: Pull sources from the repository.
git: repo={{symfony2_project_repo}} dest={{symfony2_project_root}} version={{symfony2_project_branch}}
if i execute it i got correct result:
changed: [localhost] => {"after": "bda8a73a1d08494488c21ca8f3baa0e10ba69bc2", "before": null, "changed": true}
TASK: [shell echo 'Deployment complete.'] *************************************
skipping: [localhost]
PLAY RECAP ********************************************************************
localhost : ok=2 changed=1 unreachable=0 failed=0
but dest directory is always empty not having my sources!!!!!!!!! P.D: please note that "after": "bda8a73a1d08494488c21ca8f3baa0e10ba69bc2" is showing correct hash of repo commit!
thx
Try adding -v to the ansible-playbook command to see more details of what is doing.
btw. make sure you remove the --check option or no changes will be done by Ansible.
Thx a lot conisder it closed but please correct
http://blog.servergrove.com/2014/04/01/deployment-symfony2-applications-ansible/
to reflect the correct command:
$ ansible-playbook -l prod -i app/config/hosts.ini -e
"symfony2_project_release=1" app/config/deploy.yml -vvv
without --check !!!!!! i'm a ansible newbie 'but i'm not the only
oneeeeeee..'
thx again
2014-07-08 16:12 GMT+02:00 Pablo Godel notifications@github.com:
btw. make sure you remove the --check option or no changes will be done by
Ansible.—
Reply to this email directly or view it on GitHub
#6 (comment)
.
Thanks for the mention, I removed the --check option