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

@ -42,6 +42,23 @@ options:
- ignore
- evaluate-on-load
- lazy-evaluation
return_method:
description:
- Determine how to return the results.
- Because of limitations of ansible-core < 2.21, the results were returned as Ansible facts.
Since ansible-core 2.21, it is possible to actually set variables, similar to how M(ansible.builtin.include_vars)
is working.
type: str
default: auto
choices:
auto:
- Return the results as facts for ansible-core < 2.21, and as variables for ansible-core >= 2.21.
facts-only:
- Return the results always as facts.
vars-only:
- Return the results always as variables.
- Fails for ansible-core < 2.21.
version_added: 2.3.0
extends_documentation_fragment:
- community.sops.sops
- community.sops.attributes
@ -61,7 +78,9 @@ attributes:
details:
- This action does not modify state.
facts:
support: full
support: partial
details:
- Only returns facts if O(return_method=facts-only), or O(return_method=auto) for ansible-core < 2.21.
idempotent:
support: N/A
details:
@ -105,7 +124,7 @@ EXAMPLES = r"""
RETURN = r"""
ansible_facts:
description: Variables that were included and their values.
returned: success
returned: success, and O(return_method=facts-only), or O(return_method=auto) for ansible-core < 2.21
type: dict
sample: {'variable': 'value'}
ansible_included_var_files:

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():