Skip to content

Instantly share code, notes, and snippets.

@peterkowalski
Created December 21, 2019 00:10
Show Gist options
  • Save peterkowalski/5a5a8753efd311ee91d44eb00edbbe94 to your computer and use it in GitHub Desktop.
Save peterkowalski/5a5a8753efd311ee91d44eb00edbbe94 to your computer and use it in GitHub Desktop.
[Ansible role development process] A process for developing a role with Molecule
molecule init role -r geerlingguy.example -d docker
molecule converge
<do some work on the role>
molecule converge
<see that some changes didn't work>
molecule converge
<see everything working well, commit my changes>
molecule converge
<idempotence check - make sure Ansible doesn't report any changes on a second run>
molecule destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment