-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
References #350
- Loading branch information
Showing
6 changed files
with
48 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
# | ||
|
||
- name: add the {{ item.name }} asdf plugin | ||
shell: asdf plugin add {{ item.name }} | ||
register: plugin_add_result | ||
changed_when: "plugin_add_result.rc == 0" | ||
failed_when: "plugin_add_result.rc == 1" | ||
tags: | ||
- asdf | ||
|
||
- name: install {{ item.name }} with version {{ item.version }} | ||
shell: asdf install {{ item.name }} {{ item.version }} | ||
register: tool_version_installed_result | ||
changed_when: "'Downloading' in tool_version_installed_result.stdout" | ||
tags: | ||
- asdf | ||
|
||
- name: set the {{ item.name }} global version to {{ item.version }} | ||
shell: asdf global {{ item.name }} {{ item.version }} | ||
register: plugin_global_version_set_result | ||
changed_when: "tool_version_installed_result is changed" | ||
failed_when: "plugin_global_version_set_result.rc > 0" | ||
tags: | ||
- asdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
# | ||
|
||
versions: | ||
- { name: "kustomize", version: "{{ kustomize_version }}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,3 +64,4 @@ | |
- versions.yml | ||
roles: | ||
- local | ||
- asdf |