Skip to content

Commit

Permalink
Updated for ansible-mdd 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonking3 committed Mar 16, 2023
1 parent af330df commit b052efc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions play.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

OPTIONS="--env ANSIBLE_PYTHON_INTERPRETER=/usr/local/bin/python"
# OPTIONS="$OPTIONS --env COLLECTIONS_PATHS=/"
OPTIONS="--env ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3"
if [[ ! -z "$ANSIBLE_VAULT_PASSWORD_FILE" ]]; then
OPTIONS="--env ANSIBLE_VAULT_PASSWORD_FILE=/tmp/vault.pw -v $ANSIBLE_VAULT_PASSWORD_FILE:/tmp/vault.pw"
fi
Expand All @@ -24,4 +23,4 @@ for OPTION in ${OPTION_LIST[*]}; do
fi
done

docker run -it --rm -v $PWD:/ansible --env PWD="/ansible" --env USER="$USER" $OPTIONS ghcr.io/model-driven-devops/mdd:latest ansible-playbook "$@"
docker run -it --rm -v $PWD:/ansible --env PWD="/ansible" --env USER="$USER" $OPTIONS ghcr.io/model-driven-devops/mdd:1.1.3 ansible-playbook "$@"

0 comments on commit b052efc

Please sign in to comment.