community.general icon indicating copy to clipboard operation
community.general copied to clipboard

New github_gpg_key module to manage GPG keys on GitHub.

Open austinlucaslake opened this issue 2 months ago • 6 comments

SUMMARY

New github_gpg_key module to manage GPG keys on GitHub.

Fixes #3371

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

github_gpg_key

ADDITIONAL INFORMATION

REST API endpoints for GPG keys

Example usage:

community.general.github_gpg_key:
  state: present
  token: {{ token }}
  name: {{ name }}
  armored_public_key: {{ armored_public_key }}

austinlucaslake avatar May 01 '24 04:05 austinlucaslake

The test ansible-test sanity --test ansible-doc [explain] failed with the error:

Command "ansible-doc -t module community.general.github_gpg_key" returned exit status 1.
>>> Standard Error
ERROR! module community.general.github_gpg_key missing documentation (or could not parse documentation): community.general.github_gpg_key did not contain a DOCUMENTATION attribute (/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py). Unable to parse documentation in python file '/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py': expected ':' (<unknown>, line 337). expected ':' (<unknown>, line 337)

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: python-syntax-error: Python SyntaxError while parsing module

The test botmeta failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: Cannot load DOCUMENTATION: expected ':' (<unknown>, line 337)

The test extra-docs failed with 2 errors:

plugins/modules/github_gpg_key.py:0:0: Did not return correct DOCUMENTATION
plugins/modules/github_gpg_key.py:0:0: Missing documentation or could not parse documentation: community.general.github_gpg_key did not contain a DOCUMENTATION attribute (/tmp/antsibull-docs-gl982gg2/ansible_collections/community/general/plugins/modules/github_gpg_key.py). Unable to parse documentation in python file '/tmp/antsibull-docs-gl982gg2/ansible_collections/community/general/plugins/modules/github_gpg_key.py': expected ':' (<unknown>, line 337). expected ':' (<unknown>, line 337)

The test ansible-test sanity --test compile --python 2.7 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.6 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test import --python 2.7 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.10 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.11 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.12 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.6 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.7 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.9 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test pep8 [explain] failed with 5 errors:

plugins/modules/github_gpg_key.py:338:5: E113: unexpected indentation
plugins/modules/github_gpg_key.py:344:1: W293: blank line contains whitespace
plugins/modules/github_gpg_key.py:368:13: E125: continuation line with same indent as next logical line
plugins/modules/github_gpg_key.py:384:1: E305: expected 2 blank lines after class or function definition, found 1
tests/unit/plugins/modules/test_github_gpg_key.py:71:1: W293: blank line contains whitespace

The test ansible-test sanity --test yamllint [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: python-syntax-error: expected ':' (<unknown>, line 337)
tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test import --python 3.10 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.11 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.12 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.7 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.9 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test pep8 [explain] failed with 5 errors:

plugins/modules/github_gpg_key.py:338:5: E113: unexpected indentation
plugins/modules/github_gpg_key.py:344:1: W293: blank line contains whitespace
plugins/modules/github_gpg_key.py:368:13: E125: continuation line with same indent as next logical line
plugins/modules/github_gpg_key.py:384:1: E305: expected 2 blank lines after class or function definition, found 1
tests/unit/plugins/modules/test_github_gpg_key.py:71:1: W293: blank line contains whitespace

The test ansible-test sanity --test yamllint [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: python-syntax-error: expected ':' (<unknown>, line 337)
tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 2.7 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.5 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.6 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test import --python 2.7 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.10 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.11 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.5 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.6 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.7 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.9 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test pep8 [explain] failed with 5 errors:

plugins/modules/github_gpg_key.py:338:5: E113: unexpected indentation
plugins/modules/github_gpg_key.py:344:1: W293: blank line contains whitespace
plugins/modules/github_gpg_key.py:368:13: E125: continuation line with same indent as next logical line
plugins/modules/github_gpg_key.py:384:1: E305: expected 2 blank lines after class or function definition, found 1
tests/unit/plugins/modules/test_github_gpg_key.py:71:1: W293: blank line contains whitespace

The test ansible-test sanity --test yamllint [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: python-syntax-error: expected ':' (<unknown>, line 337)
tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:141:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: SyntaxError: def run_module(module, token, name, armored_public_key, state, force, check_mode)
tests/unit/plugins/modules/test_github_gpg_key.py:142:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test import --python 3.10 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.11 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.12 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: expected ':'

The test ansible-test sanity --test import --python 3.8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test import --python 3.9 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: traceback: SyntaxError: invalid syntax

The test ansible-test sanity --test pep8 [explain] failed with 5 errors:

plugins/modules/github_gpg_key.py:338:5: E113: unexpected indentation
plugins/modules/github_gpg_key.py:344:1: W293: blank line contains whitespace
plugins/modules/github_gpg_key.py:368:13: E125: continuation line with same indent as next logical line
plugins/modules/github_gpg_key.py:384:1: E305: expected 2 blank lines after class or function definition, found 1
tests/unit/plugins/modules/test_github_gpg_key.py:71:1: W293: blank line contains whitespace

The test ansible-test sanity --test yamllint [explain] failed with 2 errors:

plugins/modules/github_gpg_key.py:337:82: python-syntax-error: expected ':' (<unknown>, line 337)
tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test pylint [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: syntax-error: Parsing failed: 'expected ':' (ansible_collections.community.general.plugins.modules.github_gpg_key, line 337)'

The test ansible-test sanity --test ansible-doc [explain] failed with the error:

Command "ansible-doc -t module community.general.github_gpg_key" returned exit status 1.
>>> Standard Error
ERROR! module community.general.github_gpg_key missing documentation (or could not parse documentation): community.general.github_gpg_key did not contain a DOCUMENTATION attribute (/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py). Unable to parse documentation in python file '/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py': expected ':' (<unknown>, line 337). expected ':' (<unknown>, line 337)

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: python-syntax-error: Python SyntaxError while parsing module

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:141:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (ansible_collections.community.general.tests.unit.plugins.modules.test_github_gpg_key, line 141)'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: syntax-error: Parsing failed: 'expected ':' (<unknown>, line 337)'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: syntax-error: Parsing failed: 'expected ':' (ansible_collections.community.general.plugins.modules.github_gpg_key, line 337)'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:141:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (ansible_collections.community.general.tests.unit.plugins.modules.test_github_gpg_key, line 141)'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:141:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (<unknown>, line 141)'

The test ansible-test sanity --test ansible-doc [explain] failed with the error:

Command "ansible-doc -t module community.general.github_gpg_key" returned exit status 1.
>>> Standard Error
ERROR! module community.general.github_gpg_key missing documentation (or could not parse documentation): community.general.github_gpg_key did not contain a DOCUMENTATION attribute (/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py). Unable to parse documentation in python file '/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py': expected ':' (<unknown>, line 337). expected ':' (<unknown>, line 337)

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: python-syntax-error: Python SyntaxError while parsing module

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:141:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (<unknown>, line 141)'

The test ansible-test sanity --test ansible-doc [explain] failed with the error:

Command "ansible-doc -t module community.general.github_gpg_key" returned exit status 1.
>>> Standard Error
ERROR! module community.general.github_gpg_key missing documentation (or could not parse documentation): community.general.github_gpg_key did not contain a DOCUMENTATION attribute (/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py). Unable to parse documentation in python file '/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py': expected ':' (<unknown>, line 337). expected ':' (<unknown>, line 337)

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: python-syntax-error: Python SyntaxError while parsing module

The test ansible-test sanity --test pylint [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:337:82: syntax-error: Parsing failed: 'expected ':' (<unknown>, line 337)'

click here for bot help

ansibullbot avatar May 01 '24 05:05 ansibullbot

cc @stpierre click here for bot help

ansibullbot avatar May 01 '24 05:05 ansibullbot

The test extra-docs failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: DOCUMENTATION -> options -> force -> description[1]: O(pubkey): option name does not reference to an existing option of the module community.general.github_gpg_key

The test ansible-test sanity --test compile --python 2.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.6 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:368:9: E122: continuation line missing indentation or outdented

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:368:9: E122: continuation line missing indentation or outdented

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 2.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.5 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.6 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:368:9: E122: continuation line missing indentation or outdented

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:368:9: E122: continuation line missing indentation or outdented

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test pylint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:192:0: unused-import: Unused now imported from ansible_collections.community.general.plugins.module_utils.datetime
plugins/modules/github_gpg_key.py:370:9: undefined-variable: Undefined variable 'state'
plugins/modules/github_gpg_key.py:380:19: undefined-variable: Undefined variable 'check_mode'

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (ansible_collections.community.general.tests.unit.plugins.modules.test_github_gpg_key, line 155)'

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"

The test ansible-test sanity --test pylint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:192:0: unused-import: Unused now imported from ansible_collections.community.general.plugins.module_utils.datetime
plugins/modules/github_gpg_key.py:370:9: undefined-variable: Undefined variable 'state'
plugins/modules/github_gpg_key.py:380:19: undefined-variable: Undefined variable 'check_mode'

The test ansible-test sanity --test pylint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:192:0: unused-import: Unused now imported from ansible_collections.community.general.plugins.module_utils.datetime
plugins/modules/github_gpg_key.py:370:9: undefined-variable: Undefined variable 'state'
plugins/modules/github_gpg_key.py:380:19: undefined-variable: Undefined variable 'check_mode'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (ansible_collections.community.general.tests.unit.plugins.modules.test_github_gpg_key, line 155)'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (<unknown>, line 155)'

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (<unknown>, line 155)'

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"

The test ansible-test sanity --test pylint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:192:0: unused-import: Unused now imported from ansible_collections.community.general.plugins.module_utils.datetime
plugins/modules/github_gpg_key.py:370:9: undefined-variable: Undefined variable 'state'
plugins/modules/github_gpg_key.py:380:19: undefined-variable: Undefined variable 'check_mode'

click here for bot help

ansibullbot avatar May 01 '24 18:05 ansibullbot

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (ansible_collections.community.general.tests.unit.plugins.modules.test_github_gpg_key, line 155)'

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"

The test ansible-test sanity --test pylint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:194:0: unused-import: Unused now imported from ansible_collections.community.general.plugins.module_utils.datetime
plugins/modules/github_gpg_key.py:375:9: undefined-variable: Undefined variable 'state'
plugins/modules/github_gpg_key.py:385:19: undefined-variable: Undefined variable 'check_mode'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (ansible_collections.community.general.tests.unit.plugins.modules.test_github_gpg_key, line 155)'

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"

The test ansible-test sanity --test pylint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:194:0: unused-import: Unused now imported from ansible_collections.community.general.plugins.module_utils.datetime
plugins/modules/github_gpg_key.py:375:9: undefined-variable: Undefined variable 'state'
plugins/modules/github_gpg_key.py:385:19: undefined-variable: Undefined variable 'check_mode'

The test extra-docs failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: DOCUMENTATION -> options -> force -> description[1]: O(pubkey): option name does not reference to an existing option of the module community.general.github_gpg_key

The test ansible-test sanity --test compile --python 2.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.6 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:373:9: E122: continuation line missing indentation or outdented

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:373:9: E122: continuation line missing indentation or outdented

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 2.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.5 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.6 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:17: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:373:9: E122: continuation line missing indentation or outdented

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:156:13: SyntaxError: token="github_access_token",

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:373:9: E122: continuation line missing indentation or outdented

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test pylint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:194:0: unused-import: Unused now imported from ansible_collections.community.general.plugins.module_utils.datetime
plugins/modules/github_gpg_key.py:375:9: undefined-variable: Undefined variable 'state'
plugins/modules/github_gpg_key.py:385:19: undefined-variable: Undefined variable 'check_mode'

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"

The test ansible-test sanity --test pylint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:194:0: unused-import: Unused now imported from ansible_collections.community.general.plugins.module_utils.datetime
plugins/modules/github_gpg_key.py:375:9: undefined-variable: Undefined variable 'state'
plugins/modules/github_gpg_key.py:385:19: undefined-variable: Undefined variable 'check_mode'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (<unknown>, line 155)'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:155:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (<unknown>, line 155)'

click here for bot help

ansibullbot avatar May 10 '24 05:05 ansibullbot

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (ansible_collections.community.general.tests.unit.plugins.modules.test_github_gpg_key, line 159)'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (<unknown>, line 159)'

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (<unknown>, line 159)'

The test extra-docs failed with 8 errors:

plugins/modules/github_gpg_key.py:0:0: Did not return correct DOCUMENTATION
plugins/modules/github_gpg_key.py:0:0: Missing documentation or could not parse documentation: community.general.github_gpg_key did not contain a DOCUMENTATION attribute (/tmp/antsibull-docs-0emz7k8h/ansible_collections/community/general/plugins/modules/github_gpg_key.py). Unable to parse documentation in python file '/tmp/antsibull-docs-0emz7k8h/ansible_collections/community/general/plugins/modules/github_gpg_key.py': while parsing a flow mapping
                                         in "<unicode string>", line 7, column 14:0:0:
                                       did not find expected ',' or '}':0:0:
                                         in "<unicode string>", line 9, column 26. while parsing a flow mapping:0:0:
                                         in "<unicode string>", line 7, column 14:0:0:
                                       did not find expected ',' or '}':0:0:
                                         in "<unicode string>", line 9, column 26:0:0:

The test ansible-test sanity --test compile --python 2.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:18: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.6 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:18: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:18: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:13: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:13: SyntaxError: params=dict(

The test ansible-test sanity --test yamllint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:65:26: error: RETURN: syntax error: expected ',' or '}', but got '<scalar>' (syntax)
plugins/modules/github_gpg_key.py:65:26: unparsable-with-libyaml: while parsing a flow mapping - did not find expected ',' or '}'
tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:18: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:13: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:13: SyntaxError: params=dict(

The test ansible-test sanity --test yamllint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:65:26: error: RETURN: syntax error: expected ',' or '}', but got '<scalar>' (syntax)
plugins/modules/github_gpg_key.py:65:26: unparsable-with-libyaml: RETURN: while parsing a flow mapping - did not find expected ',' or '}'
tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 2.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:18: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.5 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:18: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.6 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:18: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.7 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:18: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:13: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:13: SyntaxError: params=dict(

The test ansible-test sanity --test yamllint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:65:26: error: RETURN: syntax error: expected ',' or '}', but got '<scalar>' (syntax)
plugins/modules/github_gpg_key.py:65:26: unparsable-with-libyaml: while parsing a flow mapping - did not find expected ',' or '}'
tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test compile --python 3.10 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.11 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.12 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: SyntaxError: module=self.module

The test ansible-test sanity --test compile --python 3.8 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:13: SyntaxError: params=dict(

The test ansible-test sanity --test compile --python 3.9 [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:160:13: SyntaxError: params=dict(

The test ansible-test sanity --test yamllint [explain] failed with 3 errors:

plugins/modules/github_gpg_key.py:65:26: error: RETURN: syntax error: expected ',' or '}', but got '<scalar>' (syntax)
plugins/modules/github_gpg_key.py:65:26: unparsable-with-libyaml: RETURN: while parsing a flow mapping - did not find expected ',' or '}'
tests/integration/targets/github_gpg_key/tasks/main.yml:14:13: unparsable-with-libyaml: while constructing a mapping - found unhashable key

The test ansible-test sanity --test ansible-doc [explain] failed with the error:

Command "ansible-doc -t module community.general.github_gpg_key" returned exit status 1.
>>> Standard Error
ERROR! module community.general.github_gpg_key missing documentation (or could not parse documentation): community.general.github_gpg_key did not contain a DOCUMENTATION attribute (/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py). Unable to parse documentation in python file '/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py': while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26. while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26

The test ansible-test sanity --test validate-modules [explain] failed with 5 errors:

plugins/modules/github_gpg_key.py:0:0: doc-choices-do-not-match-spec: Argument 'state' in argument_spec defines choices as ([]) but documentation defines choices as (['present', 'absent'])
plugins/modules/github_gpg_key.py:0:0: documentation-error: Unknown DOCUMENTATION error, see TRACE: Unable to parse documentation in python file 'plugins/modules/github_gpg_key.py': while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26. while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26
plugins/modules/github_gpg_key.py:0:0: invalid-ansiblemodule-schema: AnsibleModule.argument_spec.state.choice: extra keys not allowed @ data['argument_spec']['state']['choice']. Got ['present', 'absent']
plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"
plugins/modules/github_gpg_key.py:65:26: return-syntax-error: RETURN is not valid YAML

The test ansible-test sanity --test ansible-doc [explain] failed with the error:

Command "ansible-doc -t module community.general.github_gpg_key" returned exit status 1.
>>> Standard Error
ERROR! module community.general.github_gpg_key missing documentation (or could not parse documentation): community.general.github_gpg_key did not contain a DOCUMENTATION attribute (/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py). Unable to parse documentation in python file '/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py': while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26. while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26

The test ansible-test sanity --test validate-modules [explain] failed with 5 errors:

plugins/modules/github_gpg_key.py:0:0: doc-choices-do-not-match-spec: Argument 'state' in argument_spec defines choices as ([]) but documentation defines choices as (['present', 'absent'])
plugins/modules/github_gpg_key.py:0:0: documentation-error: Unknown DOCUMENTATION error, see TRACE: Unable to parse documentation in python file 'plugins/modules/github_gpg_key.py': while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26. while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26
plugins/modules/github_gpg_key.py:0:0: invalid-ansiblemodule-schema: AnsibleModule.argument_spec.state.choice: extra keys not allowed @ data['argument_spec']['state']['choice']. Got ['present', 'absent']
plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"
plugins/modules/github_gpg_key.py:65:26: return-syntax-error: RETURN is not valid YAML

The test ansible-test sanity --test pylint [explain] failed with 1 error:

tests/unit/plugins/modules/test_github_gpg_key.py:159:20: syntax-error: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (ansible_collections.community.general.tests.unit.plugins.modules.test_github_gpg_key, line 159)'

The test ansible-test sanity --test ansible-doc [explain] failed with the error:

Command "ansible-doc -t module community.general.github_gpg_key" returned exit status 1.
>>> Standard Error
ERROR! module community.general.github_gpg_key missing documentation (or could not parse documentation): community.general.github_gpg_key did not contain a DOCUMENTATION attribute (/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py). Unable to parse documentation in python file '/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py': while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26. while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26

The test ansible-test sanity --test validate-modules [explain] failed with 5 errors:

plugins/modules/github_gpg_key.py:0:0: doc-choices-do-not-match-spec: Argument 'state' in argument_spec defines choices as ([]) but documentation defines choices as (['present', 'absent'])
plugins/modules/github_gpg_key.py:0:0: documentation-error: Unknown DOCUMENTATION error, see TRACE: Unable to parse documentation in python file 'plugins/modules/github_gpg_key.py': while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26. while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26
plugins/modules/github_gpg_key.py:0:0: invalid-ansiblemodule-schema: AnsibleModule.argument_spec.state.choice: extra keys not allowed @ data['argument_spec']['state']['choice']. Got ['present', 'absent']
plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"
plugins/modules/github_gpg_key.py:65:26: return-syntax-error: RETURN is not valid YAML

The test ansible-test sanity --test ansible-doc [explain] failed with the error:

Command "ansible-doc -t module community.general.github_gpg_key" returned exit status 1.
>>> Standard Error
ERROR! module community.general.github_gpg_key missing documentation (or could not parse documentation): community.general.github_gpg_key did not contain a DOCUMENTATION attribute (/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py). Unable to parse documentation in python file '/root/ansible_collections/community/general/plugins/modules/github_gpg_key.py': while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26. while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26

The test ansible-test sanity --test validate-modules [explain] failed with 5 errors:

plugins/modules/github_gpg_key.py:0:0: doc-choices-do-not-match-spec: Argument 'state' in argument_spec defines choices as ([]) but documentation defines choices as (['present', 'absent'])
plugins/modules/github_gpg_key.py:0:0: documentation-error: Unknown DOCUMENTATION error, see TRACE: Unable to parse documentation in python file 'plugins/modules/github_gpg_key.py': while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26. while parsing a flow mapping
  in "<unicode string>", line 7, column 14
did not find expected ',' or '}'
  in "<unicode string>", line 9, column 26
plugins/modules/github_gpg_key.py:0:0: invalid-ansiblemodule-schema: AnsibleModule.argument_spec.state.choice: extra keys not allowed @ data['argument_spec']['state']['choice']. Got ['present', 'absent']
plugins/modules/github_gpg_key.py:0:0: invalid-documentation-markup: Directive "O(pubkey)" contains a non-existing option "pubkey"
plugins/modules/github_gpg_key.py:65:26: return-syntax-error: RETURN is not valid YAML

click here for bot help

ansibullbot avatar May 10 '24 07:05 ansibullbot