Add roles to path

This commit is contained in:
Luke Murphy 2020-03-20 22:59:32 +01:00
parent 3fba329798
commit c136ecf20d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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"