You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Re run playbook. Result will only show host specified in -l option.
$ ansible-playbook -i inventory -l "host1" --list-hosts play.yml
[WARNING]: The variable 'environment' appears to be used already, which is also used internally for environment
variables set on the task/block/play. You should use a different variable name to avoid conflicts with this internal
variable
playbook: play.yml
PLAY: #1
pattern: [u'all']
hosts (1):
host1
The text was updated successfully, but these errors were encountered:
j3ffrw
changed the title
--limit no longer working
Bug Report: --limit no longer working
Nov 10, 2015
We believe the above commit should resolve this problem for you. This will also be included in the next major release.
If you continue seeing any problems related to this issue, or if you have any further questions, please let us know by stopping by one of the two mailing lists, as appropriate:
Because this project is very active, we're unlikely to see comments made on closed tickets, but the mailing list is a great way to ask questions, or post if you don't think this particular issue is resolved.
Hi, --limit option is no longer working after commit c753ae6
Ansible Version:
ansible-playbook 2.0.0 (devel d8fb5ef) last updated 2015/11/10 17:07:26 (GMT +800)
lib/ansible/modules/core: (detached HEAD fde6ee1) last updated 2015/11/10 17:11:10 (GMT +800)
lib/ansible/modules/extras: (detached HEAD 6cc43bb) last updated 2015/11/10 17:16:15 (GMT +800)
config file =
configured module search path = Default w/o overrides
Ansible Configuration: Clean version from github
Environment: Linux Mint 17.2 Rafaela, Python 2.7.6
Steps To Reproduce:
Create the inventory file and play.yml
- inventoryRun playbook w/ --list-host option to see affected hosts. It will disregard the -l option and show all hosts.
checkout previous commit before c753ae6
Re run playbook. Result will only show host specified in -l option.
The text was updated successfully, but these errors were encountered: