Hey Guys,
any ideas about this :
root@ip-172-16-20-180:/var/lib/jenkins/jobs/build-cs-utils/workspace/playbooks# ansible-playbook -i inventory/prod deploy_system_status.yml
Enter the version you want to deploy:
PLAY [Deploy to status servers] **********************************************
GATHERING FACTS ***************************************************************
ok: [prodstatus0]
TASK: [nodejs_app | Put upstart script in place] ******************************
fatal: [prodstatus0] => Failed to template {{ lookup(‘file’, ‘~/credentials/prod_postgres_analytics_db_username’) }}: could not locate file in lookup: ~/credentials/prod_postgres_analytics_db_username
FATAL: all hosts have already failed – aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/deploy_system_status.retry
prodstatus0 : ok=1 changed=0 unreachable=1 failed=0