blob: fad8443cb95ae6e1bb3cdc9dc9f19f6f67ab76cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env bash
set -eux
export ANSIBLE_ROLES_PATH=../
ansible-playbook runme.yml "$@"
source virtualenv.sh
# Install Jinja < 2.10 since we want to test the fallback to Ansible's custom
# unique filter. Jinja < 2.10 does not have do_unique so we will trigger the
# fallback.
pip install 'jinja2 < 2.10' 'markupsafe < 2.1'
# Run the playbook again in the venv with Jinja < 2.10
ansible-playbook runme.yml "$@"
|