Part 2 - Provisioning with Ansible
Took a bit longer than expected but I have part 2 ready:
https://github.com/nodeit/webdev_workflows_tutorial2
As always, let me know if you have any questions/critiques and I'll be happy to help!
Posted Jan 10, 2016, 4:39 PM UTC
Not working as flawless as the first one for me. Ansible for example can't install applications because of missing rights. (adding "sudo: yes" worked it out)
Also i am missing apt-get update & upgrade in ansible
Ok, I have updated the tutorial to include updating/upgrading apt-get.
Where did you need to add
sudo: yes? To eachtask.ymlor in theplaybook.yml?Also, what OS are you using?
Guess i could have added it directly in the playbook for global use but i just added it to my nginx/main.yml . Otherwise it would throw errors like you get if you try to apt-get without sudo. I use the same os as you in the tutorial.
Hmm, I'm curious as to why the
ansible.sudo = truein theVagrantfileisn't working for you there.If you clone and run the github repo, does that still give you the same error?
Well. My fault - guess i overlooked that one. Sorry! And thanks for your support.