diff options
Diffstat (limited to 'test/integration/targets/old_style_vars_plugins/runme.sh')
-rwxr-xr-x | test/integration/targets/old_style_vars_plugins/runme.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/targets/old_style_vars_plugins/runme.sh b/test/integration/targets/old_style_vars_plugins/runme.sh index 6905b78d29..ca64f5755b 100755 --- a/test/integration/targets/old_style_vars_plugins/runme.sh +++ b/test/integration/targets/old_style_vars_plugins/runme.sh @@ -35,13 +35,13 @@ trap 'rm -rf -- "out.txt"' EXIT ANSIBLE_DEBUG=True ansible-playbook test_task_vars.yml > out.txt [ "$(grep -c "Loading VarsModule 'host_group_vars'" out.txt)" -eq 1 ] -[ "$(grep -c "Loading VarsModule 'require_enabled'" out.txt)" -gt 50 ] -[ "$(grep -c "Loading VarsModule 'auto_enabled'" out.txt)" -gt 50 ] +[ "$(grep -c "Loading VarsModule 'require_enabled'" out.txt)" -eq 22 ] +[ "$(grep -c "Loading VarsModule 'auto_enabled'" out.txt)" -eq 22 ] export ANSIBLE_VARS_ENABLED=ansible.builtin.host_group_vars ANSIBLE_DEBUG=True ansible-playbook test_task_vars.yml > out.txt [ "$(grep -c "Loading VarsModule 'host_group_vars'" out.txt)" -eq 1 ] [ "$(grep -c "Loading VarsModule 'require_enabled'" out.txt)" -lt 3 ] -[ "$(grep -c "Loading VarsModule 'auto_enabled'" out.txt)" -gt 50 ] +[ "$(grep -c "Loading VarsModule 'auto_enabled'" out.txt)" -eq 22 ] ansible localhost -m include_role -a 'name=a' "$@" |