From e26863aaef46badf294337ad4344b983ee2eb00a Mon Sep 17 00:00:00 2001 From: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com> Date: Wed, 29 May 2024 12:38:56 -0400 Subject: [PATCH] Add `community.docker` as a requirement for molecule testing We explicitly add the `community.docker` collection with a minimum version as a requirement to the molecule configuration. This will allow us to ensure that a version of this collection that is compatible with 2.32.0 and newer of the Python requests library is installed. --- molecule/default/requirements.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/molecule/default/requirements.yml b/molecule/default/requirements.yml index d5927d8..0ee0875 100644 --- a/molecule/default/requirements.yml +++ b/molecule/default/requirements.yml @@ -1,3 +1,11 @@ --- -- name: upgrade - src: https://github.com/cisagov/ansible-role-upgrade +# This is necessary to ensure a version of this collection that is compatible +# with the 2.32.0+ of the Python requests library. This should be removed when +# it is no longer required per https://github.com/cisagov/skeleton-ansible-role/issues/195 +collections: + - name: community.docker + version: ">=3.10.2" + +roles: + - name: upgrade + src: https://github.com/cisagov/ansible-role-upgrade