a9d2ceafe4
- also only replace when needed - switched from replace to index - added test to verify bogus_facts are not accepted CVE-2020-10684
12 lines
501 B
Bash
Executable file
12 lines
501 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
# ANSIBLE_CACHE_PLUGINS=cache_plugins/ ANSIBLE_CACHE_PLUGIN=none ansible-playbook test_gathering_facts.yml -i inventory -v "$@"
|
|
ansible-playbook test_gathering_facts.yml -i inventory -v "$@"
|
|
# ANSIBLE_CACHE_PLUGIN=base ansible-playbook test_gathering_facts.yml -i inventory -v "$@"
|
|
|
|
ANSIBLE_GATHERING=smart ansible-playbook test_run_once.yml -i inventory -v "$@"
|
|
|
|
# ensure clean_facts is working properly
|
|
ansible-playbook test_prevent_injection.yml -i inventory -v "$@"
|