This repository contains the solutions to the Challenge Week 4.
Run from the root directory: Base task: ansible-playbook playbook.yaml Stretch goal: ansible-playbook playbook_stretch.yaml
Write a playbook that installs Docker onto the local machine.
Stretch Goals:
- Create a Docker role.
- Add a role that will deploy an Nginx container.
I expected the base challenge to be very straightforward because it was explained very well in the video call. Any doubts was all cleared. I expected the stretch goal to be challenging as configuring roles can be tricky as there are lots of components to be handled.
The base challenge went really well. I got the base structure working very well. However, I did struggle with the service: start for Docker. My initial approach was not right but after reading community again i made the relevant changes and it worked.
The stretch goal went smoother than initially thought. Followed QA community on how to deploy NGINX contianer. However, it did require modifications to make it work.
Keep praticing the tutorials and exercises. They really help to get better.
Thank you Ben!