#!/bin/bash new_role=$1 mkdir "$new_role" mkdir -p "${new_role}"/{defaults,tasks,files,templates,vars,meta} touch "${new_role}"/{defaults,tasks,vars,meta}/main.yml