
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
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/ ansible.builtin.debug:
- Display messages
Get values of your variables to:
- troubleshoot your playbooks
- display variable values during playbook execution
1
4
894
4/ ansible.builtin.file:
- Manage files, directories, and links
Example of creating the myapp directory with 0755 permissions.
2
6
953
3/ ansible.builtin.template:
- Deploy files based on Jinja2 templates
Have a config file that needs to be applied to certain hosts or with variable values from a playbook?
j2 templates is the way to go. Just place the file in your templates dir of your role & use it.
1
6
1,005
2/ ansible.builtin.service:
- Control services on remote hosts across distributions
- Easy ability to start immediately (state=started) & make service start on boot (enabled=true)
1
5
1,050
1/ ansible.builtin.package:
Manage packages without needing to worry about the package manager (apt, yum, dnf, etc.)
Example installing the git package
1
12
1,183
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
Containerized Ansible Automation Platform
- 👋 bye to complex installs
- Containerization = less hassle in deployments
- Lighter footprint
It’s all about making it easier to automate.
Step by step details on getting started by me:
youtu.be/wUcCeyrCvyg?si=iYQp…









