d372ce2c5d
* Get m_u.facts.utils coverage up to 100% Change: - Add tests to 'gathering_facts' integration target to get module_utils.facts.utils coverage up to 100%. - This also clears incidental coverage from incidental_selinux. Test Plan: - CI Signed-off-by: Rick Elrod <rick@elrod.me>
15 lines
653 B
Bash
Executable file
15 lines
653 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 -e output_dir="$OUTPUT_DIR" -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 "$@"
|
|
|
|
# ensure fact merging is working properly
|
|
ansible-playbook verify_merge_facts.yml -v "$@" -e 'ansible_facts_parallel: False'
|