community.general/lib/ansible/modules/clustering
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
..
k8s Change the return key of k8s_facts (#44446) 2018-08-29 12:04:04 +01:00
openshift K8s dynamic collected changes (#40745) 2018-05-30 12:04:48 -05:00
__init__.py Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
consul.py Prefer readthedocs.io instead of readthedocs.org for doc links (#41537) 2018-06-18 08:22:50 -04:00
consul_acl.py Prefer readthedocs.io instead of readthedocs.org for doc links (#41537) 2018-06-18 08:22:50 -04:00
consul_kv.py Prefer readthedocs.io instead of readthedocs.org for doc links (#41537) 2018-06-18 08:22:50 -04:00
consul_session.py Prefer readthedocs.io instead of readthedocs.org for doc links (#41537) 2018-06-18 08:22:50 -04:00
etcd3.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
pacemaker_cluster.py pacemaker_cluster: PEP8 compliancy and doc changes (#33001) 2017-11-17 20:34:29 +01:00
znode.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00