I'm looking for effective ways to get really good at Ansible and GitLab beyond just following standard tutorials. What are some real-world workflows, habits, and exercises that can help me build confidence and skills for long-term use in a job setting? If you had to start from scratch, what would you focus on first to be effective in a professional environment?
5 Answers
Jump in and just start using the tools. I watched a ton of tutorials but felt like I wasn't learning anything until I decided to automate the setup for my VMs. By just applying Ansible to real problems I encountered, I learned so much quicker than with tutorials. It turned out to be way more enjoyable, too!
Having a homelab is a fantastic way to learn. I snagged a few used servers and automated everything with Ansible, FluxCD, and Kubernetes. This hands-on experience really solidified my knowledge! If a homelab isn't possible, even working with VMs can provide valuable insights.
Sign up for a free account on GitLab and dive into building pipelines. Make sure you not only learn the basics of git but also the nuances like cherry-picking and developing a good branching strategy. It’s all about practice and real use cases!
Find a simple problem that's easy to tackle with Ansible, like automating the installation of a tool you frequently use. Create a role and a playbook for it, then push them to a GitLab repo. After you have it working, consider setting up a runner for ansible-lint on your role. That's a solid way to start!
Actually getting hands-on is key. For instance, try setting up a LEMP stack on Debian using Ansible, then adapt that playbook for RHEL as well. Make sure you're storing all your secrets with ansible-vault and templating your configs. This way, you're not just practicing; you're building real solutions.
Totally agree! Running a home lab adds that practical feel. Plus, you get to use it in your work.

Real projects are definitely the best motivation. It's amazing how much faster you learn when something is at stake!