update ansible collections sops, docker and debops
All checks were successful
/ build (pull_request) Successful in 28s
/ Ansible Lint (push) Successful in 2m36s
/ Ansible Lint (pull_request) Successful in 2m41s

This commit is contained in:
chris 2026-09-21 22:26:20 +02:00
commit e31ee5e39c
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
910 changed files with 27667 additions and 19786 deletions

View file

@ -110,7 +110,7 @@ try:
except ImportError:
YAML_IMP_ERR = traceback.format_exc()
HAS_YAML = False
yaml = None
yaml = None # type: ignore[assignment] # use better type later...
def get_data_type(module):
@ -122,7 +122,7 @@ def get_data_type(module):
return 'json'
if module.params['content_yaml'] is not None:
return 'yaml'
module.fail_json(msg='Internal error: unknown content type')
module.fail_json(msg='Internal error: unknown content type') # pragma: no cover
def compare_encoded_content(module, binary_data, content):
@ -144,7 +144,7 @@ def compare_encoded_content(module, binary_data, content):
except Exception:
# Treat parsing errors as content not equal
return False
module.fail_json(msg='Internal error: unknown content type')
module.fail_json(msg='Internal error: unknown content type') # pragma: no cover
def get_encoded_type_content(module, binary_data):
@ -156,7 +156,7 @@ def get_encoded_type_content(module, binary_data):
return 'json', json.dumps(module.params['content_json']).encode('utf-8')
if module.params['content_yaml'] is not None:
return 'yaml', yaml.safe_dump(module.params['content_yaml']).encode('utf-8')
module.fail_json(msg='Internal error: unknown content type')
module.fail_json(msg='Internal error: unknown content type') # pragma: no cover
def main():