Add roles to path
This commit is contained in:
parent
3fba329798
commit
c136ecf20d
@ -32,7 +32,7 @@ function run_playbook() {
|
||||
mkdir -p "$DOKKU_ROOT/.ansible/roles"
|
||||
mkdir -p "$DOKKU_ROOT/.ansible/plugins"
|
||||
mkdir -p "$DOKKU_ROOT/.ansible/plugins/modules"
|
||||
cp -R "$DOKKU_ROOT/.ansible/*/library/*" "$DOKKU_ROOT/.ansible/plugins/modules"
|
||||
cp -R "$DOKKU_ROOT/.ansible/roles/*/library/*" "$DOKKU_ROOT/.ansible/plugins/modules"
|
||||
|
||||
dokku_col_log_info1_quiet "$play_path file found"
|
||||
ansible-playbook --inventory "$(hostname)", --connection local "$play_path"
|
||||
|
Reference in New Issue
Block a user