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
Attempting to build Smart Inventory filter with following on service(s) key that contains a dot(.).
ansible_facts.services['docker.service'].state:running
EXPECTED RESULTS
Functioning filter.
ACTUAL RESULTS
Filter not functioning.
The text was updated successfully, but these errors were encountered:
jmarci
changed the title
Smart Inventory Key That Contains a Dot
Smart Inventory Filter Key That Contains a Dot
Mar 6, 2020
ISSUE TYPE
Smart Inventory Filter
SUMMARY
Issues building a Smart Inventory with a key that contains a dot(.).
ENVIRONMENT
STEPS TO REPRODUCE
Gathering services with service_facts module
name: populate service facts
service_facts:
},
"docker.service": {
"name": "docker.service",
"state": "running",
"source": "systemd",
"status": "enabled"
},
debug:
var: ansible_facts.services['docker.service'].state
TASK [debug] *****************************************************************************************************************************************************************************************************
ok: [awx] => {
"ansible_facts.services['docker.service'].state": "running"
}
Attempting to build Smart Inventory filter with following on service(s) key that contains a dot(.).
ansible_facts.services['docker.service'].state:running
EXPECTED RESULTS
Functioning filter.
ACTUAL RESULTS
Filter not functioning.
The text was updated successfully, but these errors were encountered: