Roger Lopez (@Lopez) header
Roger Lopez (@Lopez) profile picture

Technical Marketing Manager | Speaker | Author | Meme Creator | Belgian Ale drinker | Sharing the greatness that is @ansible automation

Joined July 2010
Photo by Roger Lopez (@Lopez)Photo by Roger Lopez (@Lopez)Photo by Roger Lopez (@Lopez)Photo by Roger Lopez (@Lopez)Photo by Roger Lopez (@Lopez)Photo by Roger Lopez (@Lopez)Photo by Roger Lopez (@Lopez)Photo by Roger Lopez (@Lopez)Photo by Roger Lopez (@Lopez)Photo by Roger Lopez (@Lopez)
All events should start and end with @Lopez VMware Explore 2024 Come hang with us! @RedHatEvents
2
9
2,209
The expo hall is open at @VMwareExplore ! Come by the @RedHat booth and talk about anything Red Hat! Hopefully some @ansible ?? cc @RedHatEvents
3
10
2,487
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.
5
36
178
12,682
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
7
42
3,608
📈 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…
2
10
893
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
1
1
19
1,290
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
5
10
2,137
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
2
7
28
3,207
Roger Lopez retweeted
The key to effective Ansible playbooks — consistency. How to write consistent playbooks: 🧵
1
14
1
48
8,691
Roger Lopez retweeted
Using Ansible? Use these 5 built-in modules to make your automation life easier: 🧵
1
30
1
133
25,383
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
4
17
58
5,746
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
10
36
3,783
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.
1
7
36
4,632
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.
1
24
1
59
5,640
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 😅
1
1
2
440
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: 👇👇👇
1
14
63
12,194
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
5
11
69
6,339
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…
4
8
1,015
Roger Lopez retweeted
Ansible PRO TIP: Secure Your Sensitive Data! ➡️ Use no_log: true in tasks to prevent logging of sensitive info. ➡️ Great for tasks involving passwords, API keys, and other private data. Example 👇👇👇
1
10
1
66
7,310