Hey folks,
Could anybody help me with that issues I saw permission denied on /root/.s3cfg I changed the permission on that file and I am still having permission denied
PLAY [Deploy to status servers] ***********************************************
GATHERING FACTS ***************************************************************
ok: [172.16.21.129]
TASK: [nodejs_app | Put upstart script in place] ******************************
ok: [172.16.21.129]
TASK: [nodejs_app | Create config directory] **********************************
ok: [172.16.21.129]
TASK: [nodejs_app | Put config file in place] *********************************
ok: [172.16.21.129]
TASK: [nodejs_app | Create code folder to store artifact] *********************
changed: [172.16.21.129]
TASK: [nodejs_app | Pull down code] *******************************************
failed: [172.16.21.129] => {"changed": true, "cmd": ["s3cmd", "-c", "/root/.s3cfg", "get", "s3://snapav-code/cs-system-status/cs-system-status-7ab76c7ec22af26fa3605d55750b6050e5ca17d5-2015-10-27_21-17-03--73.tar.gz", "/var/cs-apps/cs-system-status/7ab76c7ec22af26fa3605d55750b6050e5ca17d5-2015-10-27_21-17-03--73"], "delta": "0:00:00.157407", "end": "2015-10-27 21:17:10.769876", "item": "", "rc": 1, "start": "2015-10-27 21:17:10.612469"}
stderr: ERROR: /root/.s3cfg: Permission denied
ERROR: Configuration file not available.
ERROR: Consider using --configure parameter to create one.
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/var/lib/jenkins/deploy_system_status.retry
172.16.21.129 : ok=5 changed=1 unreachable=0 failed=1
Build step 'Execute shell' marked build as failure
Finished: FAILURE