ACME modules: bump test container version (#61192)

* Fix root cert path.

* Bump testing container version.

* Improve check (needed due to letsencrypt/pebble#257).
This commit is contained in:
Felix Fontein 2019-08-24 00:30:28 +02:00 committed by Matt Clay
parent 1cf43e5017
commit 4551965af1
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@
- account_creation.headers.status == 201
- "'location' in account_creation.headers"
- account_creation.output_json.status == 'valid'
- not account_creation.output_json.contact
- not (account_creation.output_json.contact | default([]))
- account_creation.output_text | from_json == account_creation.output_json
- name: Check account get output

View file

@ -134,6 +134,6 @@
when: "challenge_data is changed and challenge == 'tls-alpn-01'"
- name: ({{ certgen_title }}) Get root certificate
get_url:
url: "http://{{ acme_host }}:5000/root-certificate-for-ca"
url: "http://{{ acme_host }}:5000/root-certificate-for-ca/0"
dest: "{{ output_dir }}/{{ certificate_name }}-root.pem"
###############################################################################################

View file

@ -45,7 +45,7 @@ class ACMEProvider(CloudProvider):
if os.environ.get('ANSIBLE_ACME_CONTAINER'):
self.image = os.environ.get('ANSIBLE_ACME_CONTAINER')
else:
self.image = 'quay.io/ansible/acme-test-container:1.6.0'
self.image = 'quay.io/ansible/acme-test-container:1.7.0'
self.container_name = ''
def _wait_for_service(self, protocol, acme_host, port, local_part, name):