mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed composer usage example
This commit is contained in:
parent
ae18a1d877
commit
86bea2d6ab
1 changed files with 3 additions and 2 deletions
|
@ -110,7 +110,8 @@ EXAMPLES = '''
|
|||
- composer: command=install working_dir=/path/to/project
|
||||
|
||||
- composer:
|
||||
command: "require my/package"
|
||||
command: "require"
|
||||
arguments: "my/package"
|
||||
working_dir: "/path/to/project"
|
||||
|
||||
# Clone project and install with all dependencies
|
||||
|
@ -172,7 +173,7 @@ def main():
|
|||
command = module.params['command']
|
||||
if re.search(r"\s", command):
|
||||
module.fail_json(msg="Use the 'arguments' param for passing arguments with the 'command'")
|
||||
|
||||
|
||||
arguments = module.params['arguments']
|
||||
available_options = get_available_options(module=module, command=command)
|
||||
|
||||
|
|
Loading…
Reference in a new issue