Skip to content

Instantly share code, notes, and snippets.

@jonathonwalz
Created August 21, 2015 13:54
Show Gist options
  • Select an option

  • Save jonathonwalz/8567b47e3437207ed0cf to your computer and use it in GitHub Desktop.

Select an option

Save jonathonwalz/8567b47e3437207ed0cf to your computer and use it in GitHub Desktop.
Ansible Role Create Oneline
ansible-galaxy init "$1"
cd "$1"
git init
curl -o .git/hooks/pre-commit https://gist.githubusercontent.com/azenk/affce5e1a64400778812/raw/51024b9426181c25ee31aca692014262186b2d9a/pre-commit.syntax
chmod a+x .git/hooks/pre-commit
git add -A
git commit -m "Initial Commit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment