Add script for local execution of role.
This commit is contained in:
parent
679623710f
commit
2767c495b1
1 changed files with 7 additions and 0 deletions
7
local.sh
Executable file
7
local.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
ansible-playbook role.yml \
|
||||||
|
--limit "$(uname -n)" \
|
||||||
|
-e "bash_users=['$USER']" \
|
||||||
|
-e "role_path=$(pwd)"
|
||||||
|
|
Loading…
Reference in a new issue