This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Script to create ansible playbook directories | |
# With thanks to https://gist.github.com/skamithi/11200462 for giving me the idea | |
# We attempt to lay everything out according to Ansible best practices: | |
# https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#playbooks-best-practices#directory-layout | |
gitinit(){ | |
# Start with sensible .gitignore defaults |