ansible-flask-stack icon indicating copy to clipboard operation
ansible-flask-stack copied to clipboard

Error during repository clone

Open nicgirault opened this issue 8 years ago • 0 comments

I get the error:

TASK [ansible-flask-stack : Checkout the latest source code] *************************************************************************************************************************** fatal: [production]: FAILED! => {"changed": false, "cmd": "/usr/bin/git clone --origin origin '' /opt/decision", "failed": true, "msg": "fatal: destination path '/opt/decision' already exists and is not an empty directory.", "rc": 128, "stderr": "fatal: destination path '/opt/decision' already exists and is not an empty directory.\n", "stderr_lines": ["fatal: destination path '/opt/decision' already exists and is not an empty directory."], "stdout": "", "stdout_lines": []}

This is due to the fact that in supervisor.yml https://github.com/hypebeast/ansible-flask-stack/blob/c6dd725d869a6f3d15ed19b2cd33e460bb7de7a0/tasks/supervisor.yml, the directory is created. It might be due to Ansible upgrade? I'm using Ansible 2.3

My proposition would be to move the starter script somewhere else. Do you have an idea where? Somewhere in /etc/supervisor?

nicgirault avatar May 26 '17 16:05 nicgirault