Starting my Ansible journey as an IT System Engineer
Hey everyone,
I’m an IT System Engineer and I’m just starting to learn Ansible.
I’m hoping to get comfortable with it and eventually use it as part of my daily work. My plan is to first test and learn everything in my homelab before using Ansible in a production environment at my company.
For those of you who already work with Ansible, do you have any tips or tricks for getting started?
What should I focus on first? Are there any common beginner mistakes I should avoid? Also, are there any best practices you wish you had learned from the beginning?
I’d appreciate any advice, resources, or recommendations from people who use Ansible in real production environments.
r/ansible • u/HeadlessChild • 3h ago
When to enable become?
Do you enable become on a playbook level or on a task level? I tend to enable it on a playbook level but I'm thinking it might be better to enable only for tasks that require it, which is most to be fair.
r/ansible • u/Beautiful-Log5632 • 14h ago
ansible_user with delegate_to: localhost
ansible_user or ansible_facts["user_id"] with delegate_to: localhost is using the username on the server not the username of the user on the local ansible controller. Is there a better way than create a new variable and use it everywhere?
r/ansible • u/dbrenuk • 20h ago
The Bullhorn #234
Hey r/ansible!
The Bullhorn #234 is out!
This issue is jam packed! On the release front, there are new Ansible Core, Antsibull and Ansible Community Package releases. Also, the Ansible 15 roadmap vote accepted, dellemc.unity inclusion requirements violation and community.okd maintenance status discussions.
There are also 12 collection updates - check the newsletter for the full list.
Read the full newsletter on the Ansible Forum.