Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/controller_inventories/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ The role will strip the double space between the curly bracket in order to provi
|`instance_groups`|""|no|list|List of Instance Groups for this Inventory to run on.|
|`input_inventories`|""|no|list|List of Inventories to use as input for Constructed Inventory.|
|`variables`|`{}`|no|dict|Variables for the inventory.|
|`kind`|""|no|str|The kind of inventory. Currently choices are '' and 'smart'|
|`kind`|""|no|str|The kind of inventory. Currently choices are '', 'smart' and 'constructed'|
|`host_filter`|""|no|str|The host filter field, useful only when 'kind=smart'|
|`prevent_instance_group_fallback`|`false`|no|bool|Prevent falling back to instance groups set on the organization|
|`state`|`present`|no|str|Desired state of the resource.|
Expand Down
2 changes: 1 addition & 1 deletion roles/controller_inventories/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ argument_specs:
# choices:
# - ""
# - smart
# description: The kind of inventory. Currently choices are '' and 'smart'
# description: The kind of inventory. Currently choices are '', 'smart' and 'constructed'
# host_filter:
# default: false
# required: false
Expand Down
5 changes: 5 additions & 0 deletions roles/controller_inventories/tests/configs/inventories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ controller_inventories:
kind: smart
host_filter: name__icontains=test
variables: '{"key1":"val1", "key2":"val2"}'
- name: test3
organization: Default
kind: constructed
input_inventories:
- test1
...
2 changes: 1 addition & 1 deletion roles/controller_inventories/tests/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: Add Inventies on Controller
- name: Add Inventories on Controller
hosts: localhost
connection: local
gather_facts: false
Expand Down