Author and Software Architect at Midwestern Mac, LLC
Sep. 24, 2019•0 likes•805 views
1 of 40
There's a role for that! (AnsibleFest 2019)
Sep. 24, 2019•0 likes•805 views
Download to read offline
Report
Software
How to evaluate community roles for your playbooks.
These slides are from a presentation I gave at AnsibleFest Atlanta 2019, detailing my process for evaluating roles from Ansible Galaxy for use in my Ansible automation.
7. The following packages have unmet dependencies:
postgresql-9.3 : Depends: postgresql-client-9.3 but it is not going to be installed
Depends: postgresql-common (>= 142~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
15. Ansible Galaxy - Choosing a Role
1. What do I need?
2. How do I find it?
3. How do I narrow down search results?
4. How do I select the role I am going to use?
28. Final Step: Code Review and Test
• Make sure role does what I expect
• Make sure role is logical and maintainable
• Is it how I would write it? Does it make sense?
• Test playbook in local VM or container
35. Final Step: Code Review and Test
• Make sure role does what I expect
• Make sure role is logical and maintainable
• Is it how I would write it? Does it make sense?
• Test playbook in local VM or container
36. Final Step: Code Review and Test
• Make sure role does what I expect
• Make sure role is logical and maintainable
• Is it how I would write it? Does it make sense?
• Test playbook in local VM or container
Code ReviewpreventsBad Judgement!