library/roles/create_new_role_stub: Script that creates a role directory tree.
This commit is contained in:
parent
adccda1cf7
commit
7907003ec6
|
@ -0,0 +1,8 @@
|
||||||
|
#!/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
|
||||||
|
|
Loading…
Reference in New Issue