
Technical Marketing Manager | Speaker | Author | Meme Creator | Belgian Ale drinker | Sharing the greatness that is @ansible automation
Joined July 2010
- Tweets1.4K
- Following397
- Followers1.9K
- Likes924
Roger Lopez retweeted
Check out the latest article in my newsletter: Exploring Network AIOps with Ansible Lightspeed, EDA and MCPs - Meetup linkedin.com/pulse/exploring… via @LinkedIn
Roger Lopez retweeted
All events should start and end with @Lopez
VMware Explore 2024
Come hang with us! @RedHatEvents
Roger Lopez retweeted
The expo hall is open at @VMwareExplore ! Come by the @RedHat booth and talk about anything Red Hat! Hopefully some @ansible ??
cc @RedHatEvents
Roger Lopez retweeted
Ansible PRO TIP:
Take advantage of ‘block’ to group tasks and apply common attributes or error handling.
It helps to simplify your playbook structure and manage task execution flow.
Roger Lopez retweeted
You need to learn how to write better playbooks! One thing I like to do is order my roles so that the files are prepended with a sequence numbers:
🤯 Make troubleshooting easy
😎 Make it easy for your team
🧐 Keep it simple
#ansible #redhat #automation #developer
Roger Lopez retweeted
📈 Boost your automation skills and make playbook creation effortless with #ansible Lightspeed!
• Full playbook generation from natural language prompts
• Detailed playbook explanations
• Seamless integration with VSCode
youtu.be/oS7mSykl_D0?si=s_cA…
Roger Lopez retweeted
Did your VMware costs go up??
Learn how to migrate your VMware VMs to Red Hat OpenShift Virtualization using the power of Ansible Automation Platform. My colleague @Lopez put together this amazing YouTube video:
youtu.be/oaKMF4s3d3s?si=wNeO…
💰 Save money
⏱️ Save time
🤌 Automate it
Roger Lopez retweeted
OpenShift Virtualization and Ansible Automation Platform are bffs 😎🤜💥🤛😎. You need to learn how to use them together! Check out this awesome YouTube video from @Lopez
💻 Host VMs on Red Hat OpenShift Virtualization
⏩ Automate VMs with @ansible
youtu.be/_cf-7XJvKAY
Roger Lopez retweeted
You need to learn about Red Hat OpenShift Virtualization!
This is a great option for hosting your virtual machines. When combined with Red Hat Ansible Automation Platform you can get the best of virtualization, automation and management. 🤜💥🤛
#redhat #ansible #openshift
Roger Lopez retweeted
The key to effective Ansible playbooks — consistency.
How to write consistent playbooks: 🧵
Roger Lopez retweeted
Using Ansible?
Use these 5 built-in modules to make your automation life easier: 🧵
Roger Lopez retweeted
Ansible PRO TIP:
Running a job on a 1000 servers & it’s taking forever to complete?
Increase your forks.
Forks are used to determine how many hosts to automate against in parallel.
Careful you don’t overcommit.
In AAP, you can see what each server within the group can handle
Roger Lopez retweeted
Ansible PRO TIP: 🔐
Tips to Secure Your Secrets.
- Encrypt with Ansible Vault: Never store sensitive info in plaintext
- Don’t hardcode passwords
- Ansible Automation Controller: Store and manage credentials securely
- Use a secrets management tool like Hashicorp Vault
Roger Lopez retweeted
Ansible PRO TIP:
Organize for Success with Playbooks and Roles.
- Group related tasks in playbooks for clarity.
- Use roles to bundle complex setups into reusable components.
- Roles make your Ansible projects modular and maintainable.
Ex:
- name: Deploy web application
hosts: web_servers
roles:
- common
- web_server
- application_deploy
This setup organizes the deployment process into distinct roles.
Each handling a specific part of the setup, making your playbooks clean & understandable.
Roger Lopez retweeted
Ansible PRO TIP:
Leverage 'any_errors_fatal: true' for mission critical scenarios.
-Ideal when tasks have strict dependencies
-Ideal when a task MUST succeed before continuing
-Stops executing play on all hosts upon failure
Ex: Upgrade kicks off ONLY if all LBs are disabled.
Roger Lopez retweeted
Replying to @Lopez
I don't know if this helps, but the way I remember which on is dynamic is that the letter "D" is both in dynamic and include, and the letter "T" is in static and import. It works in my head 😅
Roger Lopez retweeted
Ansible PRO TIP:
Define task outcomes with failed_when & changed_when conditionals
- Use failed_when to define custom failure conditions.
- Use changed_when for custom change conditions.
Example using failed_when: 👇👇👇
Roger Lopez retweeted
Ansible PRO TIP:
Sometimes the playbook execution breaks.
Take advantage of these Ansible options when running your playbooks.
-vvv
--step
--check
--diff
--start-at-task
Roger Lopez retweeted
You want to streamline your DevOps workflow like @Lopez 🚀 Red Hat Developer Hub & Ansible Automation Platform can help! 🏗️
Watch how Alice automates tasks & focuses on what she does best: coding. 💻
Check it out: youtu.be/DMh6X-x0bUU?si=79Lh…













