diff options
author | Dag Wieers <dag@wieers.com> | 2018-12-18 22:25:30 +0100 |
---|---|---|
committer | Jordan Borean <jborean93@gmail.com> | 2018-12-19 07:25:30 +1000 |
commit | 05c6ff79f9860dbd6b43cb4914ee749baf65b9f7 (patch) | |
tree | b27b93e7d23f35968c392854ee24dae520db047d /lib/ansible/modules/clustering | |
parent | fcd1486b51a99a84aad6e76c26e92f26da499004 (diff) | |
download | ansible-05c6ff79f9860dbd6b43cb4914ee749baf65b9f7.tar.gz |
Convert to reduced list of known types (#50010)
Diffstat (limited to 'lib/ansible/modules/clustering')
-rw-r--r-- | lib/ansible/modules/clustering/consul_acl.py | 6 | ||||
-rw-r--r-- | lib/ansible/modules/clustering/openshift/_oc.py | 6 | ||||
-rw-r--r-- | lib/ansible/modules/clustering/pacemaker_cluster.py | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/ansible/modules/clustering/consul_acl.py b/lib/ansible/modules/clustering/consul_acl.py index 7268b32615..8d1d93bf0a 100644 --- a/lib/ansible/modules/clustering/consul_acl.py +++ b/lib/ansible/modules/clustering/consul_acl.py @@ -138,13 +138,13 @@ RETURN = """ token: description: the token associated to the ACL (the ACL's ID) returned: success - type: string + type: str sample: a2ec332f-04cf-6fba-e8b8-acf62444d3da rules: description: the HCL JSON representation of the rules associated to the ACL, in the format described in the Consul documentation (https://www.consul.io/docs/guides/acl.html#rule-specification). returned: I(status) == "present" - type: string + type: str sample: { "key": { "foo": { @@ -158,7 +158,7 @@ rules: operation: description: the operation performed on the ACL returned: changed - type: string + type: str sample: update """ diff --git a/lib/ansible/modules/clustering/openshift/_oc.py b/lib/ansible/modules/clustering/openshift/_oc.py index 3dd8d5e1ee..b5529d7b2c 100644 --- a/lib/ansible/modules/clustering/openshift/_oc.py +++ b/lib/ansible/modules/clustering/openshift/_oc.py @@ -128,15 +128,15 @@ result: The resource that was created, changed, or otherwise determined to be present. In the case of a deletion, this is the response from the delete request. returned: success - type: string + type: str url: description: The URL to the requested resource. returned: success - type: string + type: str method: description: The HTTP method that was used to take action upon the resource returned: success - type: string + type: str ... ''' diff --git a/lib/ansible/modules/clustering/pacemaker_cluster.py b/lib/ansible/modules/clustering/pacemaker_cluster.py index 2503125616..8451fafc3c 100644 --- a/lib/ansible/modules/clustering/pacemaker_cluster.py +++ b/lib/ansible/modules/clustering/pacemaker_cluster.py @@ -60,7 +60,7 @@ changed: out: description: The output of the current state of the cluster. It return a list of the nodes state. - type: string + type: str sample: 'out: [[" overcloud-controller-0", " Online"]]}' returned: always rc: |