summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/messaging
diff options
context:
space:
mode:
authorJohn R Barker <john@johnrbarker.com>2018-04-24 18:05:50 +0100
committerGitHub <noreply@github.com>2018-04-24 18:05:50 +0100
commit7c4b91844da30faaa38881d3e4a7fd8e755b1c5d (patch)
tree60218d426f27f1e68686c54bbf76c0fb4e090c72 /lib/ansible/modules/messaging
parentb533ebe20d274d3d7d1acb0dafa6affe54f69f8b (diff)
downloadansible-7c4b91844da30faaa38881d3e4a7fd8e755b1c5d.tar.gz
More validate module fixes (#39097)
* Fix type bool DOCUMENTATION issues
Diffstat (limited to 'lib/ansible/modules/messaging')
-rw-r--r--lib/ansible/modules/messaging/rabbitmq_exchange.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ansible/modules/messaging/rabbitmq_exchange.py b/lib/ansible/modules/messaging/rabbitmq_exchange.py
index 385207d7ea..9f31e57dcf 100644
--- a/lib/ansible/modules/messaging/rabbitmq_exchange.py
+++ b/lib/ansible/modules/messaging/rabbitmq_exchange.py
@@ -64,7 +64,7 @@ options:
description:
- whether exchange is durable or not
required: false
- choices: [ "yes", "no" ]
+ type: bool
default: yes
exchange_type:
description:
@@ -77,13 +77,13 @@ options:
description:
- if the exchange should delete itself after all queues/exchanges unbound from it
required: false
- choices: [ "yes", "no" ]
+ type: bool
default: no
internal:
description:
- exchange is available only for other exchanges
required: false
- choices: [ "yes", "no" ]
+ type: bool
default: no
arguments:
description: