Created
February 7, 2014 15:50
-
-
Save rhysyngsun/8865346 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
# Bash script to stub out an ansible role | |
read -p "Role name: " rolename | |
mkdir -p roles/$rolename/meta | |
mkdir -p roles/$rolename/files | |
mkdir -p roles/$rolename/tasks | |
mkdir -p roles/$rolename/templates | |
mkdir -p roles/$rolename/vars | |
touch roles/$rolename/meta/main.yml | |
touch roles/$rolename/tasks/main.yml | |
touch roles/$rolename/vars/main.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment