Replies: 1 comment
-
Hello @Growlert, I can try to answer your question about nested groups. In the You may try to rewrite the inventory with plugin: servicenow.itsm.now
compose:
windows_prod_servers: |
"prod_servers" if (
os in (
"Windows Server 2019 Standard",
"Windows Server 2016 Standard",
"Windows Server 2012 R2 Standard"
) and (used_for | lower == "production")
)
windows_test_servers: |
"windows_test_servers" if (
os in (
"Windows Server 2019 Standard",
"Windows Server 2016 Standard",
"Windows Server 2012 R2 Standard"
) and (used_for | lower == "test")
)
groups:
linux_prod_servers: used_for == "Production" and "Linux" in os and name != "urumosrub116"
linux_test_servers: used_for == "Test" and "Linux" in os and name != "urumosrub116"
keyed_groups:
- key: windows_prod_servers
prefix: "windows"
parent_group: windows_servers
- key: windows_test_servers
leading_separator: False
separator: ""
parent_group: windows_servers |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
Not sure if this is a bug or does not supported features.
Below is the simple inventory configuration which retrieves hosts info from service now.
2 problems here:
How to implement this or it does not supported at all?
Beta Was this translation helpful? Give feedback.
All reactions