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

Update azure_rm_webapp related document #59027

Open
wants to merge 4 commits into
base: devel
from

Conversation

Projects
None yet
2 participants
@Fred-sun
Copy link
Contributor

commented Jul 12, 2019

SUMMARY

Update azure_rm_webapp related document.

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

azure_rm_webapp/azure_rm_webapp_facts

ADDITIONAL INFORMATION

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 12, 2019

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

Command "ansible-doc -t module azure_rm_webapp azure_rm_webapp_facts" returned exit status 1.
>>> Standard Error
ERROR! module azure_rm_webapp missing documentation (or could not parse documentation): while parsing a block mapping
  in "<byte string>", line 10, column 5
did not find expected key
  in "<byte string>", line 168, column 7

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

Command "ansible-doc -t module azure_rm_webapp azure_rm_webapp_facts" returned exit status 1.
>>> Standard Error
ERROR! module azure_rm_webapp missing documentation (or could not parse documentation): while parsing a block mapping
  in "<byte string>", line 10, column 5
did not find expected key
  in "<byte string>", line 168, column 7

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

Command "ansible-doc -t module azure_rm_webapp azure_rm_webapp_facts" returned exit status 1.
>>> Standard Error
ERROR! module azure_rm_webapp missing documentation (or could not parse documentation): while parsing a block mapping
  in "<unicode string>", line 10, column 5
did not find expected key
  in "<unicode string>", line 168, column 7

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

Command "ansible-doc -t module azure_rm_webapp azure_rm_webapp_facts" returned exit status 1.
>>> Standard Error
ERROR! module azure_rm_webapp missing documentation (or could not parse documentation): while parsing a block mapping
  in "<unicode string>", line 10, column 5
did not find expected key
  in "<unicode string>", line 168, column 7

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

Command "ansible-doc -t module azure_rm_webapp azure_rm_webapp_facts" returned exit status 1.
>>> Standard Error
ERROR! module azure_rm_webapp missing documentation (or could not parse documentation): while parsing a block mapping
  in "<unicode string>", line 10, column 5
did not find expected key
  in "<unicode string>", line 168, column 7

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

Command "ansible-doc -t module azure_rm_webapp azure_rm_webapp_facts" returned exit status 1.
>>> Standard Error
ERROR! module azure_rm_webapp missing documentation (or could not parse documentation): while parsing a block mapping
  in "<unicode string>", line 10, column 5
did not find expected key
  in "<unicode string>", line 168, column 7

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 ../bin/dump_config.py --template-file=../templates/config.rst.j2 --output-dir=rst/reference_appendices/ -d ../../lib/ansible/config/base.yml
mkdir -p rst/cli
PYTHONPATH=../../lib ../bin/generate_man.py --template-file=../templates/cli_rst.j2 --output-dir=rst/cli/ --output-format rst ../../lib/ansible/cli/*.py
PYTHONPATH=../../lib ../bin/dump_keywords.py --template-dir=../templates --output-dir=rst/reference_appendices/ -d ./keyword_desc.yml
PYTHONPATH=../../lib ../bin/plugin_formatter.py -t rst --template-dir=../templates --module-dir=../../lib/ansible/modules -o rst/modules/ 
Evaluating module files...
Makefile:93: recipe for target 'modules' failed
--> Standard Error
Traceback (most recent call last):
  File "../bin/plugin_formatter.py", line 815, in <module>
    main()
  File "../bin/plugin_formatter.py", line 770, in main
    plugin_info, categories = get_plugin_info(options.module_dir, limit_to=options.limit_to, verbose=(options.verbosity > 0))
  File "../bin/plugin_formatter.py", line 300, 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 111, 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 892, in _yaml.CParser._compose_mapping_node
  File "ext/_yaml.pyx", line 905, in _yaml.CParser._parse_next_event
yaml.parser.ParserError: while parsing a block mapping
  in "<unicode string>", line 10, column 5
did not find expected key
  in "<unicode string>", line 168, column 7
make: *** [modules] Error 1

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

lib/ansible/modules/cloud/azure/azure_rm_webapp.py:60:125: W291 trailing whitespace

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

lib/ansible/modules/cloud/azure/azure_rm_webapp.py:0:0: E324 Argument 'api_profile' in argument_spec defines default as ('latest') but documentation defines default as (None)
lib/ansible/modules/cloud/azure/azure_rm_webapp.py:0:0: E324 Argument 'app_state' in argument_spec defines default as ('started') but documentation defines default as (None)
lib/ansible/modules/cloud/azure/azure_rm_webapp.py:0:0: E324 Argument 'append_tags' in argument_spec defines default as (True) but documentation defines default as (False)
lib/ansible/modules/cloud/azure/azure_rm_webapp.py:0:0: E324 Argument 'client_affinity_enabled' in argument_spec defines default as (True) but documentation defines default as (False)
lib/ansible/modules/cloud/azure/azure_rm_webapp.py:0:0: E324 Argument 'cloud_environment' in argument_spec defines default as ('AzureCloud') but documentation defines default as (None)
lib/ansible/modules/cloud/azure/azure_rm_webapp.py:0:0: E324 Argument 'state' in argument_spec defines default as ('present') but documentation defines default as (None)
lib/ansible/modules/cloud/azure/azure_rm_webapp.py:0:0: E326 Argument 'app_state' in argument_spec defines choices as (['started', 'stopped', 'restarted']) but documentation defines choices as ([])
lib/ansible/modules/cloud/azure/azure_rm_webapp.py:0:0: E326 Argument 'auth_source' in argument_spec defines choices as (['auto', 'cli', 'env', 'credential_file', 'msi']) but documentation defines choices as ([])
lib/ansible/modules/cloud/azure/azure_rm_webapp.py:0:0: E326 Argument 'cert_validation_mode' in argument_spec defines choices as (['validate', 'ignore']) but documentation defines choices as ([])
lib/ansible/modules/cloud/azure/azure_rm_webapp.py:0:0: E326 Argument 'state' in argument_spec defines choices as (['present', 'absent']) but documentation defines choices as ([])
lib/ansible/modules/cloud/azure/azure_rm_webapp.py:183:7: E302 DOCUMENTATION is not valid YAML

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

lib/ansible/modules/cloud/azure/azure_rm_webapp.py:183:7: error DOCUMENTATION: syntax error: expected <block end>, but found '<block mapping start>'

click here for bot help

@ansibot

This comment has been minimized.

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 12, 2019

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

click here for bot help

Fred-sun added some commits Jul 15, 2019

@Fred-sun

This comment has been minimized.

Copy link
Contributor Author

commented Jul 15, 2019

ready_for_review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.