Ansible 101 - Episode 7 - Molecule Testing and Linting and Ansible Galaxy

Jeff Geerling May 6, 2020
Video Thumbnail
Jeff Geerling Logo

Jeff Geerling

View Channel

About

Father, author, developer, maker. Sometimes called "an inflammatory enigma".

Video Description

Jeff Geerling (geerlingguy) explores Ansible Galaxy, ansible-lint, Molecule, and testing Ansible roles and playbooks based on content in the bestselling Ansible book, Ansible for DevOps. There's a role for that! https://www.ansible.com/theres-a-role-for-that Making your playbooks maintainable: https://www.jeffgeerling.com/blog/2019/make-your-ansible-playbooks-flexible-maintainable-and-scalable-ansiblefest-austin-2018 Buy Ansible for DevOps: https://www.ansiblefordevops.com Sponsor Jeff on GitHub: https://github.com/sponsors/geerlingguy Support Jeff on Patreon: https://www.patreon.com/geerlingguy Contents: 00:00:00 - Start 00:00:20 - Intro 00:05:13 - Questions from last episode 00:10:35 - Ansible Galaxy requirements files 00:15:58 - Mac development playbook 00:17:17 - A new chapter for testing 00:19:15 - The Ansible testing spectrum 00:23:50 - Testing inline in playbooks 00:28:39 - Linting with yamllint 00:34:40 - Check syntax with --syntax-check 00:37:30 - Linting with ansible-lint 00:42:42 - Introduction to Molecule 00:47:23 - Testing a role with Molecule 00:55:52 - Role dev with molecule converge 00:59:15 - Using molecule login 01:00:54 - Other molecule commands 01:02:12 - Outtro

You May Also Like