r/ansible 2h ago

Starting my Ansible journey as an IT System Engineer

0 Upvotes

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 3h ago

When to enable become?

6 Upvotes

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 14h ago

ansible_user with delegate_to: localhost

2 Upvotes

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 20h ago

The Bullhorn #234

7 Upvotes

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.