spurin / diveintoansible-lab

Dive Into Ansible Lab
788 stars 498 forks source link

Destination /shared not writable #42

Closed jeffreylcooke closed 2 years ago

jeffreylcooke commented 3 years ago

James, great video series! I ran into this problem in the third lab for Docker with Ansible:

ansible@ubuntu-c:~/diveintoansible/Using Ansible with Cloud Services and Containers/Docker with Ansible/03$ ansible-playbook docker_playbook.yaml

...

TASK [Create a customised Dockerfile] **** fatal: [ubuntu-c]: FAILED! => {"changed": false, "checksum": "df46ab11fcbec01158f33fc1e3b2dcf7b8d326c8", "msg": "Destination /shared not writable"}

I did not do a lot of debugging to see if I'd messed up along the way. I simply 'chmod 777 /shared' and kept moving. Not sure if this is really a problem or if anyone else has encountered the same thing.

--Regards, Jeff

spurin commented 3 years ago

Hi @jeffreylcooke

Thanks so much for your comments and glad to hear you're enjoying it. What you did is the right thing to do! Are you running on Linux per chance as this should be listed as an extra step. Maybe I need to make this clearer...

Best Regards

James

jeffreylcooke commented 3 years ago

James,

I'm using Docker on Windows Desktop. I just chalked it up to me missing a step along the way somewhere.

There were about two other times I had issues during the course; however, after reviewing the courseware closely I noticed a mistake I had made along the way -- so, in my opinion, you have a great quality video here. My only disappointment was not being able to find a book to go along with it for later reference.

I have an O'Reilly Safari account and that's the venue I used for viewing the course.

Incidentally, I am an experienced Linux "person". Retired from about 30 years of writing drivers, software, and integrating on *nix operating systems. My final project before retiring was a Cobbler/Puppet bare-metal provisioning project. Ansible was a little difficult to grok at first, but now -- after your course -- I can say that I almost like it!

Planning to use it to provision Raspberry Pi IOT appliances and doing ok, so far on my own.

Again -- great course!

--Cheers, Jeffrey Cooke

On Tue, Jul 13, 2021 at 12:14 PM James Spurin @.***> wrote:

Hi @jeffreylcooke https://github.com/jeffreylcooke

Thanks so much for your comments and glad to hear you're enjoying it. What you did is the right thing to do! Are you runnin on Linux per chance as this should be listed as an extra step. Maybe I need to make this clearer...

Best Regards

James

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spurin/diveintoansible-lab/issues/42#issuecomment-879220788, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHU3OXFYHCZTMARCT4NRXLTXRQ5RANCNFSM47PAIYWQ .

spurin commented 2 years ago

Thanks for your comment above by the way @jeffreylcooke

I saw it at the time but got sidetracked on responding, great to hear your background and to let you know, I'm intending on creating a corresponding book for what will be the 3rd edition :-)

Great to hear about the Raspberry Pi efforts also, I've recently myself been having heaps of fun with these as well!