Files
community.general/lib/ansible/module_utils
Will Thames b35ac8080f Change the return key of k8s_facts (#44446)
`items` is a *terrible* return key for ansible as Jinja
will often think it refers to the `items()` function.

Even though you can typically work around this with
`results['items']`, sometimes even that doesn't work:

```
- name: Resources should exist
  assert:
    that: item.status.phase == 'Active'
  loop: "{{ k8s_namespaces['items'] }}"
```

```
fatal: [testhost]: FAILED! => {"msg": "Invalid data passed to 'loop', it
requires a list, got this instead: <built-in method items of dict object
at 0x109dc9c58>. Hint: If you passed a list/dict of just one element,
try adding wantlist=True to your lookup invocation or use q/query
instead of lookup."}
```

Change it now while we still can.
2018-08-29 12:04:04 +01:00
..
2018-08-23 19:43:18 -04:00
2018-08-26 22:46:55 +02:00
2017-08-07 19:46:06 -07:00
2018-08-23 21:04:18 -04:00
2017-06-02 12:14:11 +01:00
2017-06-02 12:14:11 +01:00
2017-09-12 00:11:13 -07:00
2017-06-02 12:14:11 +01:00
2016-02-08 19:10:04 +01:00
2018-08-21 16:32:37 +02:00
2017-06-02 12:14:11 +01:00
2017-11-21 10:03:34 -08:00
2017-09-13 01:53:08 -07:00
2018-08-24 18:15:45 +02:00
2018-07-31 13:23:05 -04:00
2017-06-02 12:14:11 +01:00