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:
parent
1cf43e5017
commit
4551965af1
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
||||||
- account_creation.headers.status == 201
|
- account_creation.headers.status == 201
|
||||||
- "'location' in account_creation.headers"
|
- "'location' in account_creation.headers"
|
||||||
- account_creation.output_json.status == 'valid'
|
- 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
|
- account_creation.output_text | from_json == account_creation.output_json
|
||||||
|
|
||||||
- name: Check account get output
|
- name: Check account get output
|
||||||
|
|
|
@ -134,6 +134,6 @@
|
||||||
when: "challenge_data is changed and challenge == 'tls-alpn-01'"
|
when: "challenge_data is changed and challenge == 'tls-alpn-01'"
|
||||||
- name: ({{ certgen_title }}) Get root certificate
|
- name: ({{ certgen_title }}) Get root certificate
|
||||||
get_url:
|
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"
|
dest: "{{ output_dir }}/{{ certificate_name }}-root.pem"
|
||||||
###############################################################################################
|
###############################################################################################
|
||||||
|
|
|
@ -45,7 +45,7 @@ class ACMEProvider(CloudProvider):
|
||||||
if os.environ.get('ANSIBLE_ACME_CONTAINER'):
|
if os.environ.get('ANSIBLE_ACME_CONTAINER'):
|
||||||
self.image = os.environ.get('ANSIBLE_ACME_CONTAINER')
|
self.image = os.environ.get('ANSIBLE_ACME_CONTAINER')
|
||||||
else:
|
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 = ''
|
self.container_name = ''
|
||||||
|
|
||||||
def _wait_for_service(self, protocol, acme_host, port, local_part, name):
|
def _wait_for_service(self, protocol, acme_host, port, local_part, name):
|
||||||
|
|
Loading…
Reference in a new issue