vars_prompt fires even if no hosts matched for a play #28408
Labels
affects_2.3
This issue/PR affects Ansible v2.3
bug
This issue/PR relates to a bug.
c:cli/playbook
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
playbook, vars_prompt
ANSIBLE VERSION
ansible 2.3.1.0
config file = /home/amiasoedov/ansible/playbooks/linux/ansible.cfg
configured module search path = Default w/o overrides
python version = 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609]
CONFIGURATION
OS / ENVIRONMENT
N/A
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
the play is skipped with no var prompts
ACTUAL RESULTS
I'm asked for input
The text was updated successfully, but these errors were encountered: