Skip to content

limit inventory #1089

Answered by ansibleguy
hmoffatt asked this question in Q&A
Discussion options

You must be logged in to vote

Yes - you can supply the limit inside the task or task-template JSON field:

["--limit", "host1,host2"]

Also: I opened a specific feature-request for adding a --limit field: #1357

Regarding multiple inventories - you could try to also supply them using the 'JSON' field as those variables seem to be directly passed to Ansible.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hmoffatt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants