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

Running w/ ansible 2.4 and default config...

Open brainstorm opened this issue 7 years ago • 2 comments
trafficstars

TASK [flask-stack : Run pre hooks] **********************************************************************************************************************************************************************************************************************
 [WARNING]: could not parse environment value, skipping: ['flaskapp_app_environment']

failed: [ec2-13-55-18-20.ap-southeast-2.compute.amazonaws.com] (item=flaskapp_app_pre_hooks) => {"changed": false, "cmd": "flaskapp_app_pre_hooks", "item": "flaskapp_app_pre_hooks", "msg": "[Errno 2] No such file or directory", "rc": 2}

brainstorm avatar Dec 14 '17 05:12 brainstorm

TASK [flask-stack : Copy application config to remote] **************************************************************************************************************************************************************************************************
fatal: [ec2-13-55-18-20.ap-southeast-2.compute.amazonaws.com]: FAILED! => {"msg": "The conditional check 'flaskapp_app_config_file is defined and flaskapp_app_config_file.stat.exists' failed. The error was: error while evaluating conditional (flaskapp_app_config_file is defined and flaskapp_app_config_file.stat.exists): 'dict object' has no attribute 'stat'\n\nThe error appears to have been in '/Users/romanvg/dev/pcgr-deploy/ansible/roles/flask-stack/tasks/deploy.yml': line 23, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Copy application config to remote\n  ^ here\n"}

brainstorm avatar Dec 14 '17 05:12 brainstorm

TASK [flask-stack : Run post hooks] *********************************************************************************************************************************************************************************************************************
 [WARNING]: could not parse environment value, skipping: ['flaskapp_app_environment']

failed: [ec2-13-55-18-20.ap-southeast-2.compute.amazonaws.com] (item=flaskapp_app_post_hooks) => {"changed": false, "cmd": "flaskapp_app_post_hooks", "item": "flaskapp_app_post_hooks", "msg": "[Errno 2] No such file or directory", "rc": 2}

brainstorm avatar Dec 14 '17 05:12 brainstorm