From b052efcab8cee452fec4d2c39029f50414e290eb Mon Sep 17 00:00:00 2001 From: Jason King Date: Thu, 16 Mar 2023 14:18:20 -0700 Subject: [PATCH] Updated for ansible-mdd 1.1.3 --- play.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/play.sh b/play.sh index e062672..5a3ce7a 100755 --- a/play.sh +++ b/play.sh @@ -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 @@ -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 "$@"