-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Ansible playbooks using Assert #74
Comments
@dmccuk This would be a great topic, thank you. |
Yes I think there's time. I was planning to run my own meetup in the second
week of September
But I'd be up for waiting and doing an in person one as well if that was a
possibility in October?
…On Fri, 20 Aug 2021, 09:13 John R Barker, ***@***.***> wrote:
@dmccuk <https://github.com/dmccuk> This would be a great topic, thank
you.
Do you think we could fit in a virtual meetup before AnsibleFest (ie early
September)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#74 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABX4XDICJ5ZK6AGREVHOORTT5YFDJANCNFSM5CPYW5PA>
.
|
@gundalow How's the planning going for the next meetup. I'm not sure if you saw my previous reply but I'm ready when you are to give a presentation on testing Ansible playbooks using Assert. |
Hi, |
Talk title
How to prove Ansible did what it said it did!
Talk Description
When we run Ansible to manage server configurations, we assume (if there is no red errors) that it worked. But if you're developing ansible modules for your systems, and want to take the DevOps approach and work on CICD pipelines, you need to have some tests in there to prove that what you asked ansible to do has actually worked.
One of the best ways to do this within ansible, is to use the Assert module. It asserts that a given expression is true. When you combine this with the output of a command that’s registered to a variable, there is almost no limit to what you can test.
Estimated Duration
15 mins - no more than 20.
Twitter Handle
LinkedIn? https://www.linkedin.com/in/dennismccarthyuk/
Sponsorship
I'm just a guy who likes doing stuff with Ansible
The text was updated successfully, but these errors were encountered: