mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-03 15:51:30 -07:00
Use native YAML - Packaging (#3588)
* Fix kibana * More native YAML * More native YAML * More native YAML * More native YAML. Now only languages/ is missing * Use native yaml sintax for packaging/languages as well * Some more and quote fixes * Fix wrong grouping
This commit is contained in:
parent
d344d7863a
commit
06a8f1d79b
34 changed files with 589 additions and 186 deletions
|
@ -108,19 +108,21 @@ notes:
|
|||
|
||||
EXAMPLES = '''
|
||||
# Downloads and installs all the libs and dependencies outlined in the /path/to/project/composer.lock
|
||||
- composer: command=install working_dir=/path/to/project
|
||||
- composer:
|
||||
command: install
|
||||
working_dir: /path/to/project
|
||||
|
||||
- composer:
|
||||
command: "require"
|
||||
arguments: "my/package"
|
||||
working_dir: "/path/to/project"
|
||||
command: require
|
||||
arguments: my/package
|
||||
working_dir: /path/to/project
|
||||
|
||||
# Clone project and install with all dependencies
|
||||
- composer:
|
||||
command: "create-project"
|
||||
arguments: "package/package /path/to/project ~1.0"
|
||||
working_dir: "/path/to/project"
|
||||
prefer_dist: "yes"
|
||||
command: create-project
|
||||
arguments: package/package /path/to/project ~1.0
|
||||
working_dir: /path/to/project
|
||||
prefer_dist: yes
|
||||
'''
|
||||
|
||||
import os
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue