ansible-roles/create_new_role_stub

9 lines
167 B
Plaintext
Raw Normal View History

#!/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