zach-adams / hgv-deploy-full

This Ansible Playbook is designed to setup a Mercury-Like environment on a Production server without the configuration hassle.
102 stars 46 forks source link

Erroring on step 2 of 'Fix the stdin bug'. #41

Open ljupcospeci opened 8 years ago

ljupcospeci commented 8 years ago

Getting this error when running the playbook.

TASK [common : Fix the stdin bug, step 2] ** fatal: [xxxxxx]: FAILED! => {"changed": false, "failed": true, "msg": "Destination /root/.profile does not exist !", "rc": 257}

*xxxxxx is a placeholder hostname

Thanks

lukebranch commented 8 years ago

@ljupcospeci ,

I haven't figured out why this error is being generated, however I have managed to get passed it by creating an empty .profile file in /root/

Try this at a terminal when you're logged in as root: sudo touch ~/.profile

or this: sudo touch /root/profile

then run the script and you should get past this error.