File tree Expand file tree Collapse file tree 7 files changed +29
-1
lines changed Expand file tree Collapse file tree 7 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
66
77## [ Unreleased]
8+ ### Added
9+ - [ Composer] Update flags
810
911## [ 0.1.108] - 2021-01-28
1012### Changed
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
66
77## [ Unreleased]
8+ ### Added
9+ - Update flags
810
911## [ 2.0.5] - 2021-01-27
1012### Fixed
Original file line number Diff line number Diff line change @@ -46,14 +46,19 @@ None.
4646| `manala_composer_bin` | '/usr/local/bin/composer' | String | Binary path |
4747| `manala_composer_users_auth_template` | ~ | String | User auth template path |
4848| `manala_composer_users_auth` | [] | Array | User auth config |
49+ | `manala_composer` | {} | Dict | Use for custom flags |
4950
5051# ## Configuration example
5152
5253# ## Versions
5354
5455By default, the role installs the latest version of composer (channel stable).
55- If you want the latest version of a specific channel (major version), set `manala_composer_version` value to the desired channel (ie `1` or `2`)
5656If you want a specific version, set `manala_composer_version` value to the desired version (ie `1.10.16`)
57+ If you want the latest version of a specific channel (major version), set `manala_composer_version` value to the desired channel (ie `1` or `2`)
58+
59+ If you set a specific channel, and want to update to the latest version of this specific channel :
60+ - Set `manala_composer_version` value to the desired channel (ie `1` or `2`)
61+ - Set `manala_composer.update=true`
5762
5863# ### Composer configuration with github token
5964
Original file line number Diff line number Diff line change @@ -16,3 +16,6 @@ manala_composer_bin: /usr/local/bin/composer
1616# Users - Auth
1717manala_composer_users_auth_template : ~
1818manala_composer_users_auth : []
19+
20+ # Flags
21+ manala_composer : {}
Original file line number Diff line number Diff line change 4040 manala_composer_version|string != __manala_composer_bin_check_result.stdout|regex_replace('(.*)(\\d+)(\\.\\d+\\.\\d+.*)', '\\2')
4141 )
4242 )
43+ or (
44+ __manala_composer['update']
45+ )
Original file line number Diff line number Diff line change 55 tags :
66 - manala_composer
77 - manala_composer.install
8+ - manala_composer.update
9+ - manala.update
810
911# Users Auth
1012- import_tasks : users_auth.yml
Original file line number Diff line number Diff line change 1+ ---
2+
3+ # Flags
4+ __manala_composer : " {{
5+ {
6+ 'update': False
7+ }|combine(
8+ manala|default({}),
9+ manala_composer
10+ )
11+ }}"
You can’t perform that action at this time.
0 commit comments