diff options
Diffstat (limited to 'app-admin/salt/files/salt-2019.2.8-ansible-roster-fix.patch')
-rw-r--r-- | app-admin/salt/files/salt-2019.2.8-ansible-roster-fix.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app-admin/salt/files/salt-2019.2.8-ansible-roster-fix.patch b/app-admin/salt/files/salt-2019.2.8-ansible-roster-fix.patch deleted file mode 100644 index 597c97e87774..000000000000 --- a/app-admin/salt/files/salt-2019.2.8-ansible-roster-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/salt/roster/ansible.py b/salt/roster/ansible.py -index f4a2a23e0b..e6b9e80247 100644 ---- a/salt/roster/ansible.py -+++ b/salt/roster/ansible.py -@@ -129,7 +129,7 @@ def targets(tgt, tgt_type='glob', **kwargs): - - def _get_hosts_from_group(group): - inventory = __context__['inventory'] -- hosts = [host for host in inventory[group].get('hosts', [])] -+ hosts = [host for host in inventory.setdefault(group, {}).get('hosts', [])] - for child in inventory[group].get('children', []): - hosts.extend(_get_hosts_from_group(child)) - return hosts |