blob: 9448e4e098bd369ae0f0d4a7d4bd29bdc0dc0b3c (
plain)
1
2
3
4
5
6
7
8
|
#!/usr/bin/env bash
set -eux
JSON_ARG='{"test_hash":{"extra_args":"this is an extra arg"}}'
ANSIBLE_HASH_BEHAVIOUR=replace ansible-playbook test_hash.yml -i ../../inventory -v "$@" -e "${JSON_ARG}"
ANSIBLE_HASH_BEHAVIOUR=merge ansible-playbook test_hash.yml -i ../../inventory -v "$@" -e "${JSON_ARG}"
|