Skip to content

Instantly share code, notes, and snippets.

@fletort
Created July 16, 2020 23:34
Show Gist options
  • Save fletort/7e25d820e0762e15d4b46f6219a39622 to your computer and use it in GitHub Desktop.
Save fletort/7e25d820e0762e15d4b46f6219a39622 to your computer and use it in GitHub Desktop.
Create Ansible Role from Molecule with the official Molecule docker image
#!/bin/bash
docker run --rm -it \
-v $(pwd):/tmp \
-w /tmp \
quay.io/ansible/molecule:3.0.6 \
molecule init role $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment