Closed noplanman closed 6 years ago
When there is no group defined, the conditional to find a value in a list is broken and passes as true.
This PR sets facts to ensure that undefined group lists are regarded as empty.
Without this change, the hosts groups would need to be defined as empty groups:
[borgbackup_servers] # Empty... [borgbackup_management] # Empty...
Thanks, I missed that indeed.
When there is no group defined, the conditional to find a value in a list is broken and passes as true.
This PR sets facts to ensure that undefined group lists are regarded as empty.
Without this change, the hosts groups would need to be defined as empty groups: