forked from ISTI-ansible-roles/ansible-roles
library/roles/create_new_role_stub: Create the handlers directory.
This commit is contained in:
parent
9e343a0bf1
commit
30d7f63c89
|
@ -3,6 +3,6 @@
|
|||
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
|
||||
mkdir -p "${new_role}"/{defaults,tasks,files,templates,vars,meta,handlers}
|
||||
touch "${new_role}"/{defaults,tasks,vars,meta,handlers}/main.yml
|
||||
|
||||
|
|
Loading…
Reference in New Issue