From b30d2ce9e5d6cb1effce5d79ce91fdf1ceeb7c82 Mon Sep 17 00:00:00 2001 From: Edoardo T Date: Thu, 22 Nov 2018 18:29:13 +0100 Subject: [PATCH] add state parameter to route53 module route53 module state parameter is required (https://docs.ansible.com/ansible/latest/modules/route53_module.html#parameters), so the example is not working out of the box in ansible. Required state parameters has been introduced in commit 698fa37a4496b44b32c2b851f0cf83bd664e8eda (https://github.com/ansible/ansible/commit/698fa37a4496b44b32c2b851f0cf83bd664e8eda) +label: docsite_pr --- lib/ansible/modules/crypto/acme/acme_certificate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/crypto/acme/acme_certificate.py b/lib/ansible/modules/crypto/acme/acme_certificate.py index cf6b4e0b69e..f7a31fe3604 100644 --- a/lib/ansible/modules/crypto/acme/acme_certificate.py +++ b/lib/ansible/modules/crypto/acme/acme_certificate.py @@ -233,6 +233,7 @@ EXAMPLES = R''' # record: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].record }}" # type: TXT # ttl: 60 +# state: present # # Note: route53 requires TXT entries to be enclosed in quotes # value: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].resource_value }}" # when: sample_com_challenge is changed @@ -244,6 +245,7 @@ EXAMPLES = R''' # record: "{{ item.key }}" # type: TXT # ttl: 60 +# state: present # # Note: item.value is a list of TXT entries, and route53 # # requires every entry to be enclosed in quotes # value: "{{ item.value | map('regex_replace', '^(.*)$', '\'\\1\'' ) | list }}"