acme_account: improve account deactivation idempotency (#53234)

* Improve account deactivation idempotency.

* Using newer testing container.

* Add comment to test.
This commit is contained in:
Felix Fontein
2019-03-05 17:08:01 +01:00
committed by John R Barker
parent 8ba2e15578
commit 1510435577
3 changed files with 15 additions and 3 deletions

View File

@@ -111,6 +111,9 @@
assert:
that:
- account_deactivate_idempotent is not changed
# The next condition should be true for all conforming ACME servers.
# In case it is not true, it could be both an error in acme_account
# and in the ACME server.
- account_deactivate_idempotent.account_uri is none
- name: Validate that the account is gone (new account key)

View File

@@ -44,7 +44,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.4.1'
self.image = 'quay.io/ansible/acme-test-container:1.4.2'
self.container_name = ''
def _wait_for_service(self, protocol, acme_host, port, local_part, name):