Рет қаралды 28
In this episode, we'll review ansible facts, tags, and jinja2's dynamic expression to create our own fact.
The example I use relates to SQL Server 2022 Standard Edition and processor core counts.
Sign up for the course waitlist here - www.automatesql.com/ansible
Github repo - github.com/automatesql/Ansibl...
Blog Post - Coming soon.
Need a home sandbox? Learn how to build one using automation at www.automatesql.com/asf.
Thanks for stopping by!
Contents:
00:00 - Intro
01:08 - Real-world scenario of using facts for SQL Server installations
03:45 - Join the course waitlist
04:24 - Inventory file review
05:05 - playbook_processorFacts review
05:40 - Ansible facts
07:30 - Ansible tags
08:00 - Getting all facts
10:14 - Limiting returned facts - focusing on the processor
13:25 - Dynamic expressions using jinja2
16:15 - Set fact - processor socket
18:10 - Print custom fact to console
18:50 - Outtro