Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access_rule module #61281

Merged
merged 14 commits into from Aug 29, 2019

Conversation

@chkp-orso
Copy link
Contributor

commented Aug 25, 2019

SUMMARY

Checkpoint access_rule module

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

checkpoint

ADDITIONAL INFORMATION

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Aug 25, 2019

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

Command "ansible-doc -t module cp_mgmt_access_rule cp_mgmt_access_rule_facts" returned exit status 1.
>>> Standard Error
ERROR! module cp_mgmt_access_rule missing documentation (or could not parse documentation): while parsing a block collection
  in "<unicode string>", line 26, column 7
did not find expected '-' indicator
  in "<unicode string>", line 26, column 17

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

Command "/usr/bin/python3.6 /root/ansible/test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Command 'make singlehtmldocs' failed with status code: 2
--> Standard Output
PYTHONPATH=../../lib ../../hacking/build-ansible.py collection-meta --template-file=../templates/collections_galaxy_meta.rst.j2 --output-dir=rst/dev_guide/ ../../lib/ansible/galaxy/data/collections_galaxy_meta.yml
PYTHONPATH=../../lib ../../hacking/build-ansible.py document-config --template-file=../templates/config.rst.j2 --output-dir=rst/reference_appendices/ ../../lib/ansible/config/base.yml
mkdir -p rst/cli
PYTHONPATH=../../lib ../../hacking/build-ansible.py generate-man --template-file=../templates/cli_rst.j2 --output-dir=rst/cli/ --output-format rst ../../lib/ansible/cli/*.py
PYTHONPATH=../../lib ../../hacking/build-ansible.py document-keywords --template-dir=../templates --output-dir=rst/reference_appendices/ ./keyword_desc.yml
PYTHONPATH=../../lib ../../hacking/build-ansible.py document-plugins -t rst --template-dir=../templates --module-dir=../../lib/ansible/modules -o rst/modules/ 
Evaluating module files...
Makefile:99: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../../hacking/build-ansible.py", line 88, in <module>
    main()
  File "../../hacking/build-ansible.py", line 79, in main
    retval = command.main(args)
  File "/root/ansible/hacking/build_library/build_ansible/command_plugins/plugin_formatter.py", line 711, in main
    plugin_info, categories = get_plugin_info(args.module_dir, limit_to=args.limit_to, verbose=(args.verbosity > 0))
  File "/root/ansible/hacking/build_library/build_ansible/command_plugins/plugin_formatter.py", line 225, in get_plugin_info
    doc, examples, returndocs, metadata = plugin_docs.get_docstring(module_path, fragment_loader, verbose=verbose)
  File "/root/ansible/lib/ansible/utils/plugin_docs.py", line 124, in get_docstring
    data = read_docstring(filename, verbose=verbose, ignore_errors=ignore_errors)
  File "/root/ansible/lib/ansible/parsing/plugin_docs.py", line 59, in read_docstring
    data[varkey] = AnsibleLoader(child.value.s, file_name=filename).get_single_data()
  File "/usr/local/lib/python3.6/dist-packages/yaml/constructor.py", line 41, in get_single_data
    node = self.get_single_node()
  File "ext/_yaml.pyx", line 707, in _yaml.CParser.get_single_node
  File "ext/_yaml.pyx", line 725, in _yaml.CParser._compose_document
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 774, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 853, in _yaml.CParser._compose_sequence_node
  File "ext/_yaml.pyx", line 905, in _yaml.CParser._parse_next_event
yaml.parser.ParserError: while parsing a block collection
  in "<unicode string>", line 26, column 7
did not find expected '-' indicator
  in "<unicode string>", line 26, column 17
make: *** [modules] Error 1

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

Command "/usr/bin/python3.6 /root/ansible/test/sanity/code-smell/package-data.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "/root/ansible/test/sanity/code-smell/package-data.py", line 383, in <module>
    main()
  File "/root/ansible/test/sanity/code-smell/package-data.py", line 360, in main
    sdist_path = create_sdist(tmp_dir)
  File "/root/ansible/test/sanity/code-smell/package-data.py", line 174, in create_sdist
    raise Exception('make snapshot failed:\n%s' % stderr)
Exception: make snapshot failed:
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
docs/man/man1/ansible-galaxy.1.rst:51: (WARNING/2) Definition list ends without a blank line; unexpected unindent.
docs/man/man1/ansible-galaxy.1.rst:57: (WARNING/2) Definition list ends without a blank line; unexpected unindent.
ERROR! module cp_mgmt_access_rule at /tmp/tmpzv2wftvd/lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py has a documentation error formatting or is missing documentation.
Traceback (most recent call last):
  File "packaging/release/changelogs/changelog.py", line 835, in <module>
    main()
  File "packaging/release/changelogs/changelog.py", line 102, in main
    args.func(args)
  File "packaging/release/changelogs/changelog.py", line 132, in command_release
    plugins = load_plugins(version=version, force_reload=reload_plugins)
  File "packaging/release/changelogs/changelog.py", line 184, in load_plugins
    '--json', '--metadata-dump', '-t', plugin_type])
  File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmp/tmpzv2wftvd/bin/ansible-doc', '--json', '--metadata-dump', '-t', 'module']' returned non-zero exit status 1.
make: *** [changelog] Error 1

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

lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'accounting' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'alert' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'confirm' found in user_check is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'custom_frequency' found in user_check is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'enable_firewall_session' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'enable_identity_captive_portal' found in action_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'every' found in user_check -> custom_frequency is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'field_1' found in custom_fields is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'field_2' found in custom_fields is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'field_3' found in custom_fields is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'frequency' found in user_check is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'interaction' found in user_check is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'limit' found in action_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'per_connection' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'per_session' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'type' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'unit' found in user_check -> custom_frequency is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E324 Argument 'state' in argument_spec defines default as ('present') but documentation defines default as (None)
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E324 Argument 'wait_for_task' in argument_spec defines default as (True) but documentation defines default as (False)
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'alert' in argument_spec found in track defines choices as (['none', 'alert', 'snmp', 'mail', 'user alert 1', 'user alert 2', 'user alert 3']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'confirm' in argument_spec found in user_check defines choices as (['per rule', 'per category', 'per application/site', 'per data type']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'content_direction' in argument_spec defines choices as (['any', 'up', 'down']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'details_level' in argument_spec defines choices as (['uid', 'standard', 'full']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'frequency' in argument_spec found in user_check defines choices as (['once a day', 'once a week', 'once a month', 'custom frequency...']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'state' in argument_spec defines choices as (['present', 'absent']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'unit' in argument_spec found in user_check -> custom_frequency defines choices as (['hours', 'days', 'weeks', 'months']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'accounting' in argument_spec found in track defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'action' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'action_settings' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'alert' in argument_spec found in track defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'auto_publish_session' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'comments' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'confirm' in argument_spec found in user_check defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'content' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'content_direction' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'content_negate' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'custom_fields' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'custom_frequency' in argument_spec found in user_check defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'destination' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'destination_negate' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'details_level' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'enable_firewall_session' in argument_spec found in track defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'enable_identity_captive_portal' in argument_spec found in action_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'enabled' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'every' in argument_spec found in user_check -> custom_frequency defines type as 'int' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'field_1' in argument_spec found in custom_fields defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'field_2' in argument_spec found in custom_fields defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'field_3' in argument_spec found in custom_fields defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'frequency' in argument_spec found in user_check defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'ignore_errors' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'ignore_warnings' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'inline_layer' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'install_on' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'interaction' in argument_spec found in user_check defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'layer' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'limit' in argument_spec found in action_settings defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'name' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'per_connection' in argument_spec found in track defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'per_session' in argument_spec found in track defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'position' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'service' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'service_negate' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'source' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'source_negate' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'state' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'time' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'track' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'type' in argument_spec found in track defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'unit' in argument_spec found in user_check -> custom_frequency defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'user_check' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'version' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'vpn' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'wait_for_task' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E340 Argument 'action_settings' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E340 Argument 'custom_fields' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E340 Argument 'custom_frequency' in argument_spec found in user_check has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E340 Argument 'track' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E340 Argument 'user_check' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:53:17: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'expand_group_members' found in filter_settings -> packet_search_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'expand_group_with_exclusion_members' found in filter_settings -> packet_search_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'from_date' found in hits_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'match_on_any' found in filter_settings -> packet_search_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'match_on_group_with_exclusion' found in filter_settings -> packet_search_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'match_on_negate' found in filter_settings -> packet_search_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'packet_search_settings' found in filter_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'search_mode' found in filter_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'target' found in hits_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'to_date' found in hits_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E326 Argument 'details_level' in argument_spec defines choices as (['uid', 'standard', 'full']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E326 Argument 'search_mode' in argument_spec found in filter_settings defines choices as (['general', 'packet']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'dereference_group_members' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'details_level' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'expand_group_members' in argument_spec found in filter_settings -> packet_search_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'expand_group_with_exclusion_members' in argument_spec found in filter_settings -> packet_search_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'filter' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'filter_settings' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'from_date' in argument_spec found in hits_settings defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'hits_settings' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'layer' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'limit' in argument_spec defines type as 'int' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'match_on_any' in argument_spec found in filter_settings -> packet_search_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'match_on_group_with_exclusion' in argument_spec found in filter_settings -> packet_search_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'match_on_negate' in argument_spec found in filter_settings -> packet_search_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'name' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'offset' in argument_spec defines type as 'int' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'order' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'package' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'packet_search_settings' in argument_spec found in filter_settings defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'rule_number' in argument_spec defines type as 'int' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'search_mode' in argument_spec found in filter_settings defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'show_as_ranges' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'show_hits' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'show_membership' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'target' in argument_spec found in hits_settings defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'to_date' in argument_spec found in hits_settings defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'use_object_dictionary' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'version' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E340 Argument 'filter_settings' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E340 Argument 'hits_settings' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E340 Argument 'packet_search_settings' in argument_spec found in filter_settings has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:35:40: E302 DOCUMENTATION is not valid YAML

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

lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:53:17: error DOCUMENTATION: syntax error: expected <block end>, but found ','
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:35:40: error DOCUMENTATION: syntax error: mapping values are not allowed here

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Aug 25, 2019

@chkp-orso this PR contains more than one new module.

Please submit only one new module per pull request. For a detailed explanation, please read the grouped modules documentation

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Aug 25, 2019

@chkp-orso, just so you are aware we have a dedicated Working Group for network.
You can find other people interested in this in #ansible-network on Freenode IRC
For more information about communities, meetings and agendas see https://github.com/ansible/community

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Aug 25, 2019

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

Command "ansible-doc -t module cp_mgmt_access_rule cp_mgmt_access_rule_facts" returned exit status 1.
>>> Standard Error
ERROR! module cp_mgmt_access_rule missing documentation (or could not parse documentation): while parsing a block collection
  in "<unicode string>", line 26, column 7
did not find expected '-' indicator
  in "<unicode string>", line 26, column 17

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

Command "/usr/bin/python3.6 /root/ansible/test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Command 'make singlehtmldocs' failed with status code: 2
--> Standard Output
PYTHONPATH=../../lib ../../hacking/build-ansible.py collection-meta --template-file=../templates/collections_galaxy_meta.rst.j2 --output-dir=rst/dev_guide/ ../../lib/ansible/galaxy/data/collections_galaxy_meta.yml
PYTHONPATH=../../lib ../../hacking/build-ansible.py document-config --template-file=../templates/config.rst.j2 --output-dir=rst/reference_appendices/ ../../lib/ansible/config/base.yml
mkdir -p rst/cli
PYTHONPATH=../../lib ../../hacking/build-ansible.py generate-man --template-file=../templates/cli_rst.j2 --output-dir=rst/cli/ --output-format rst ../../lib/ansible/cli/*.py
PYTHONPATH=../../lib ../../hacking/build-ansible.py document-keywords --template-dir=../templates --output-dir=rst/reference_appendices/ ./keyword_desc.yml
PYTHONPATH=../../lib ../../hacking/build-ansible.py document-plugins -t rst --template-dir=../templates --module-dir=../../lib/ansible/modules -o rst/modules/ 
Evaluating module files...
Makefile:99: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../../hacking/build-ansible.py", line 88, in <module>
    main()
  File "../../hacking/build-ansible.py", line 79, in main
    retval = command.main(args)
  File "/root/ansible/hacking/build_library/build_ansible/command_plugins/plugin_formatter.py", line 711, in main
    plugin_info, categories = get_plugin_info(args.module_dir, limit_to=args.limit_to, verbose=(args.verbosity > 0))
  File "/root/ansible/hacking/build_library/build_ansible/command_plugins/plugin_formatter.py", line 225, in get_plugin_info
    doc, examples, returndocs, metadata = plugin_docs.get_docstring(module_path, fragment_loader, verbose=verbose)
  File "/root/ansible/lib/ansible/utils/plugin_docs.py", line 124, in get_docstring
    data = read_docstring(filename, verbose=verbose, ignore_errors=ignore_errors)
  File "/root/ansible/lib/ansible/parsing/plugin_docs.py", line 59, in read_docstring
    data[varkey] = AnsibleLoader(child.value.s, file_name=filename).get_single_data()
  File "/usr/local/lib/python3.6/dist-packages/yaml/constructor.py", line 41, in get_single_data
    node = self.get_single_node()
  File "ext/_yaml.pyx", line 707, in _yaml.CParser.get_single_node
  File "ext/_yaml.pyx", line 725, in _yaml.CParser._compose_document
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 774, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 853, in _yaml.CParser._compose_sequence_node
  File "ext/_yaml.pyx", line 905, in _yaml.CParser._parse_next_event
yaml.parser.ParserError: while parsing a block collection
  in "<unicode string>", line 26, column 7
did not find expected '-' indicator
  in "<unicode string>", line 26, column 17
make: *** [modules] Error 1

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

Command "/usr/bin/python3.6 /root/ansible/test/sanity/code-smell/package-data.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "/root/ansible/test/sanity/code-smell/package-data.py", line 383, in <module>
    main()
  File "/root/ansible/test/sanity/code-smell/package-data.py", line 360, in main
    sdist_path = create_sdist(tmp_dir)
  File "/root/ansible/test/sanity/code-smell/package-data.py", line 174, in create_sdist
    raise Exception('make snapshot failed:\n%s' % stderr)
Exception: make snapshot failed:
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
docs/man/man1/ansible-galaxy.1.rst:51: (WARNING/2) Definition list ends without a blank line; unexpected unindent.
docs/man/man1/ansible-galaxy.1.rst:57: (WARNING/2) Definition list ends without a blank line; unexpected unindent.
ERROR! module cp_mgmt_access_rule at /tmp/tmp9q9rdpe2/lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py has a documentation error formatting or is missing documentation.
Traceback (most recent call last):
  File "packaging/release/changelogs/changelog.py", line 835, in <module>
    main()
  File "packaging/release/changelogs/changelog.py", line 102, in main
    args.func(args)
  File "packaging/release/changelogs/changelog.py", line 132, in command_release
    plugins = load_plugins(version=version, force_reload=reload_plugins)
  File "packaging/release/changelogs/changelog.py", line 184, in load_plugins
    '--json', '--metadata-dump', '-t', plugin_type])
  File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmp/tmp9q9rdpe2/bin/ansible-doc', '--json', '--metadata-dump', '-t', 'module']' returned non-zero exit status 1.
make: *** [changelog] Error 1

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

lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'accounting' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'alert' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'confirm' found in user_check is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'custom_frequency' found in user_check is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'enable_firewall_session' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'enable_identity_captive_portal' found in action_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'every' found in user_check -> custom_frequency is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'field_1' found in custom_fields is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'field_2' found in custom_fields is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'field_3' found in custom_fields is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'frequency' found in user_check is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'interaction' found in user_check is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'limit' found in action_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'per_connection' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'per_session' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'type' found in track is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E322 Argument 'unit' found in user_check -> custom_frequency is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E324 Argument 'state' in argument_spec defines default as ('present') but documentation defines default as (None)
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E324 Argument 'wait_for_task' in argument_spec defines default as (True) but documentation defines default as (False)
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'alert' in argument_spec found in track defines choices as (['none', 'alert', 'snmp', 'mail', 'user alert 1', 'user alert 2', 'user alert 3']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'confirm' in argument_spec found in user_check defines choices as (['per rule', 'per category', 'per application/site', 'per data type']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'content_direction' in argument_spec defines choices as (['any', 'up', 'down']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'details_level' in argument_spec defines choices as (['uid', 'standard', 'full']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'frequency' in argument_spec found in user_check defines choices as (['once a day', 'once a week', 'once a month', 'custom frequency...']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'state' in argument_spec defines choices as (['present', 'absent']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E326 Argument 'unit' in argument_spec found in user_check -> custom_frequency defines choices as (['hours', 'days', 'weeks', 'months']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'accounting' in argument_spec found in track defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'action' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'action_settings' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'alert' in argument_spec found in track defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'auto_publish_session' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'comments' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'confirm' in argument_spec found in user_check defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'content' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'content_direction' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'content_negate' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'custom_fields' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'custom_frequency' in argument_spec found in user_check defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'destination' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'destination_negate' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'details_level' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'enable_firewall_session' in argument_spec found in track defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'enable_identity_captive_portal' in argument_spec found in action_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'enabled' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'every' in argument_spec found in user_check -> custom_frequency defines type as 'int' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'field_1' in argument_spec found in custom_fields defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'field_2' in argument_spec found in custom_fields defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'field_3' in argument_spec found in custom_fields defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'frequency' in argument_spec found in user_check defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'ignore_errors' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'ignore_warnings' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'inline_layer' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'install_on' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'interaction' in argument_spec found in user_check defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'layer' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'limit' in argument_spec found in action_settings defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'name' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'per_connection' in argument_spec found in track defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'per_session' in argument_spec found in track defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'position' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'service' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'service_negate' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'source' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'source_negate' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'state' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'time' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'track' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'type' in argument_spec found in track defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'unit' in argument_spec found in user_check -> custom_frequency defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'user_check' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'version' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'vpn' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E337 Argument 'wait_for_task' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E340 Argument 'action_settings' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E340 Argument 'custom_fields' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E340 Argument 'custom_frequency' in argument_spec found in user_check has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E340 Argument 'track' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E340 Argument 'user_check' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:53:17: E302 DOCUMENTATION is not valid YAML
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'expand_group_members' found in filter_settings -> packet_search_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'expand_group_with_exclusion_members' found in filter_settings -> packet_search_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'from_date' found in hits_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'match_on_any' found in filter_settings -> packet_search_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'match_on_group_with_exclusion' found in filter_settings -> packet_search_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'match_on_negate' found in filter_settings -> packet_search_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'packet_search_settings' found in filter_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'search_mode' found in filter_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'target' found in hits_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E322 Argument 'to_date' found in hits_settings is listed in the argument_spec, but not documented in the module documentation
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E326 Argument 'details_level' in argument_spec defines choices as (['uid', 'standard', 'full']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E326 Argument 'search_mode' in argument_spec found in filter_settings defines choices as (['general', 'packet']) but documentation defines choices as ([])
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'dereference_group_members' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'details_level' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'expand_group_members' in argument_spec found in filter_settings -> packet_search_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'expand_group_with_exclusion_members' in argument_spec found in filter_settings -> packet_search_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'filter' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'filter_settings' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'from_date' in argument_spec found in hits_settings defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'hits_settings' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'layer' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'limit' in argument_spec defines type as 'int' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'match_on_any' in argument_spec found in filter_settings -> packet_search_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'match_on_group_with_exclusion' in argument_spec found in filter_settings -> packet_search_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'match_on_negate' in argument_spec found in filter_settings -> packet_search_settings defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'name' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'offset' in argument_spec defines type as 'int' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'order' in argument_spec defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'package' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'packet_search_settings' in argument_spec found in filter_settings defines type as 'list' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'rule_number' in argument_spec defines type as 'int' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'search_mode' in argument_spec found in filter_settings defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'show_as_ranges' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'show_hits' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'show_membership' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'target' in argument_spec found in hits_settings defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'to_date' in argument_spec found in hits_settings defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'use_object_dictionary' in argument_spec defines type as 'bool' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E337 Argument 'version' in argument_spec defines type as 'str' but documentation doesn't define type
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E340 Argument 'filter_settings' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E340 Argument 'hits_settings' in argument_spec has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:0:0: E340 Argument 'packet_search_settings' in argument_spec found in filter_settings has sub-options but documentation does not define it
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:73:33: E302 DOCUMENTATION is not valid YAML

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

lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:53:17: error DOCUMENTATION: syntax error: expected <block end>, but found ','
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:73:33: error DOCUMENTATION: syntax error: expected <block end>, but found ','
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:84:5: key-duplicates DOCUMENTATION: duplication of key "description" in mapping
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:87:5: key-duplicates DOCUMENTATION: duplication of key "type" in mapping
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:137:5: key-duplicates DOCUMENTATION: duplication of key "description" in mapping
lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule_facts.py:139:5: key-duplicates DOCUMENTATION: duplication of key "type" in mapping

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Aug 25, 2019

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

Command "ansible-doc -t module cp_mgmt_access_rule cp_mgmt_access_rule_facts" returned exit status 1.
>>> Standard Error
ERROR! module cp_mgmt_access_rule missing documentation (or could not parse documentation): while parsing a block collection
  in "<unicode string>", line 140, column 11
did not find expected '-' indicator
  in "<unicode string>", line 140, column 18

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

Command "/usr/bin/python3.6 /root/ansible/test/sanity/code-smell/package-data.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "/root/ansible/test/sanity/code-smell/package-data.py", line 383, in <module>
    main()
  File "/root/ansible/test/sanity/code-smell/package-data.py", line 360, in main
    sdist_path = create_sdist(tmp_dir)
  File "/root/ansible/test/sanity/code-smell/package-data.py", line 174, in create_sdist
    raise Exception('make snapshot failed:\n%s' % stderr)
Exception: make snapshot failed:
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
docs/man/man1/ansible-galaxy.1.rst:51: (WARNING/2) Definition list ends without a blank line; unexpected unindent.
docs/man/man1/ansible-galaxy.1.rst:57: (WARNING/2) Definition list ends without a blank line; unexpected unindent.
ERROR! module cp_mgmt_access_rule at /tmp/tmport8yzs4/lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py has a documentation error formatting or is missing documentation.
Traceback (most recent call last):
  File "packaging/release/changelogs/changelog.py", line 835, in <module>
    main()
  File "packaging/release/changelogs/changelog.py", line 102, in main
    args.func(args)
  File "packaging/release/changelogs/changelog.py", line 132, in command_release
    plugins = load_plugins(version=version, force_reload=reload_plugins)
  File "packaging/release/changelogs/changelog.py", line 184, in load_plugins
    '--json', '--metadata-dump', '-t', plugin_type])
  File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmp/tmport8yzs4/bin/ansible-doc', '--json', '--metadata-dump', '-t', 'module']' returned non-zero exit status 1.
make: *** [changelog] Error 1

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

Command "/usr/bin/python3.6 /root/ansible/test/sanity/code-smell/docs-build.py" returned exit status 1.
>>> Standard Error
Command 'make singlehtmldocs' failed with status code: 2
--> Standard Output
PYTHONPATH=../../lib ../../hacking/build-ansible.py collection-meta --template-file=../templates/collections_galaxy_meta.rst.j2 --output-dir=rst/dev_guide/ ../../lib/ansible/galaxy/data/collections_galaxy_meta.yml
PYTHONPATH=../../lib ../../hacking/build-ansible.py document-config --template-file=../templates/config.rst.j2 --output-dir=rst/reference_appendices/ ../../lib/ansible/config/base.yml
mkdir -p rst/cli
PYTHONPATH=../../lib ../../hacking/build-ansible.py generate-man --template-file=../templates/cli_rst.j2 --output-dir=rst/cli/ --output-format rst ../../lib/ansible/cli/*.py
PYTHONPATH=../../lib ../../hacking/build-ansible.py document-keywords --template-dir=../templates --output-dir=rst/reference_appendices/ ./keyword_desc.yml
PYTHONPATH=../../lib ../../hacking/build-ansible.py document-plugins -t rst --template-dir=../templates --module-dir=../../lib/ansible/modules -o rst/modules/ 
Evaluating module files...
Makefile:99: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../../hacking/build-ansible.py", line 88, in <module>
    main()
  File "../../hacking/build-ansible.py", line 79, in main
    retval = command.main(args)
  File "/root/ansible/hacking/build_library/build_ansible/command_plugins/plugin_formatter.py", line 711, in main
    plugin_info, categories = get_plugin_info(args.module_dir, limit_to=args.limit_to, verbose=(args.verbosity > 0))
  File "/root/ansible/hacking/build_library/build_ansible/command_plugins/plugin_formatter.py", line 225, in get_plugin_info
    doc, examples, returndocs, metadata = plugin_docs.get_docstring(module_path, fragment_loader, verbose=verbose)
  File "/root/ansible/lib/ansible/utils/plugin_docs.py", line 124, in get_docstring
    data = read_docstring(filename, verbose=verbose, ignore_errors=ignore_errors)
  File "/root/ansible/lib/ansible/parsing/plugin_docs.py", line 59, in read_docstring
    data[varkey] = AnsibleLoader(child.value.s, file_name=filename).get_single_data()
  File "/usr/local/lib/python3.6/dist-packages/yaml/constructor.py", line 41, in get_single_data
    node = self.get_single_node()
  File "ext/_yaml.pyx", line 707, in _yaml.CParser.get_single_node
  File "ext/_yaml.pyx", line 725, in _yaml.CParser._compose_document
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 776, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 890, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 774, in _yaml.CParser._compose_node
  File "ext/_yaml.pyx", line 853, in _yaml.CParser._compose_sequence_node
  File "ext/_yaml.pyx", line 905, in _yaml.CParser._parse_next_event
yaml.parser.ParserError: while parsing a block collection
  in "<unicode string>", line 140, column 11
did not find expected '-' indicator
  in "<unicode string>", line 140, column 18
make: *** [modules] Error 1

click here for bot help

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Aug 25, 2019

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

Output on stderr from ansible-doc is considered an error.

Command "ansible-doc -t module cp_mgmt_access_rule cp_mgmt_access_rule_facts" returned exit status 0.
>>> Standard Error
[WARNING]: While constructing a mapping from /root/ansible/lib/ansible/modules
/network/checkpoint/cp_mgmt_access_rule_facts.py, line 40, column 5, found a
duplicate dict key (description). Using last defined value only.
 [WARNING]: While constructing a mapping from /root/ansible/lib/ansible/modules
/network/checkpoint/cp_mgmt_access_rule_facts.py, line 40, column 5, found a
duplicate dict key (type). Using last defined value only.
 [WARNING]: While constructing a mapping from /root/ansible/lib/ansible/modules
/network/checkpoint/cp_mgmt_access_rule_facts.py, line 69, column 5, found a
duplicate dict key (description). Using last defined value only.
 [WARNING]: While constructing a mapping from /root/ansible/lib/ansible/modules
/network/checkpoint/cp_mgmt_access_rule_facts.py, line 69, column 5, found a
duplicate dict key (type). Using last defined value only.

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

docs/docsite/rst/modules/list_of_all_modules.rst:710:0: undefined-label: undefined label: cp_mgmt_access_rule_facts_module (if the link has no caption the label must precede a section header)
docs/docsite/rst/modules/list_of_network_modules.rst:268:0: undefined-label: undefined label: cp_mgmt_access_rule_facts_module (if the link has no caption the label must precede a section header)

click here for bot help

chkp-orso added 5 commits Aug 25, 2019
chkp-orso added 3 commits Aug 27, 2019
@ansibot

This comment has been minimized.

Copy link
Contributor

commented Aug 28, 2019

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

lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:340:0: KeyError: 'directional'

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

lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:340:0: KeyError: 'directional'

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

lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:340:0: KeyError: 'directional'

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

lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:340:0: KeyError: 'directional'

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

lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:0:0: E321 Exception attempting to import module for argument_spec introspection, ''directional''

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

lib/ansible/modules/network/checkpoint/cp_mgmt_access_rule.py:340:0: KeyError: 'directional'

click here for bot help

@ansibot ansibot added the ci_verified label Aug 28, 2019

@ansibot ansibot removed the ci_verified label Aug 28, 2019

@justjais justjais merged commit e7931d8 into ansible:devel Aug 29, 2019

1 check passed

Shippable Run 140508 status is SUCCESS.
Details

@sivel sivel removed the needs_triage label Aug 29, 2019

adharshsrivatsr added a commit to adharshsrivatsr/ansible that referenced this pull request Sep 3, 2019
access_rule module (ansible#61281)
* access_rule module

* remove :

* fix to pass tests

* don't start line with quote (")

* remove redundant indentation

* return the origin description

* don't start line with quote (")

* enable longer lines, add '-'

*  adding state: present

* update examples

* dict to list

* list to dict

* Update cp_mgmt_access_rule.py

* remove rule_number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.