#!/usr/bin/bash if [ $# -ne 1 ]; then echo "$0 " fi ROLE="${1}" mkdir roles/${ROLE} mkdir roles/${ROLE}/{defaults,handlers,tasks,templates,files} touch roles/${ROLE}/{defaults,handlers,tasks,templates,files}/main.yml