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

Improve examples on parameters use with argv #60781

Open
wants to merge 1 commit into
base: devel
from

Conversation

@toadjaune
Copy link
Contributor

commented Aug 19, 2019

SUMMARY

There is currently no example showing that when using the argv syntax for command module instead of the string one, we can directly provide other parameters in the "command" block, rather than using a "args" block.

This modification adds it.

ISSUE TYPE
  • Docs Pull Request

+label: docsite_pr

SUMMARY
ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

command

ADDITIONAL INFORMATION
Improve examples on parameters use with argv
##### SUMMARY

There is currently no example showing that when using the `argv` syntax for command module instead of the string one, we can directly provide other parameters in the "command" block, rather than using a "args" block.

This modification adds it.


##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
@@ -123,12 +123,14 @@
creates: /path/to/database
# 'argv' is a parameter, indented one level from the module
# When using this syntax, you don't need the "args" block anymore

This comment has been minimized.

Copy link
@sivel

sivel Aug 20, 2019

Member

I think this comment can be improved. It should indicate that when not using "freeform" arguments, such as the following, that args is not necessary:

- command: /usr/bin/make_database.sh

@sivel sivel removed the needs_triage label Aug 20, 2019

@ansibot ansibot added the stale_ci label Aug 28, 2019

@dagwieers dagwieers added the docsite_pr label Sep 5, 2019

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.