-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ahmadali shafiee <mail@ahmadalli.net>
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
_docker_composer_v1_file_ending: "{{ansible_system}}-{{ansible_userspace_architecture}}" | ||
_docker_composer_v2_file_ending: "{{ ansible_system | lower }}-{{ 'amd64' if ansible_architecture | lower == 'x86_64' else ansible_architecture }}" | ||
_docker_composer_file_name: docker-compose-{{ _docker_composer_v2_file_ending if (docker_compose_version | default('latest', true) == 'latest') or (docker_compose_version | default('2.0.0', true) is version('2.0', '>=')) else _docker_composer_v1_file_ending }} | ||
# yaml-language-server: $schema=none | ||
|
||
_docker_composer_file_ending: "{{ansible_system}}-{{ansible_userspace_architecture}}" | ||
_docker_composer_v2_0_0_file_ending: "{{ ansible_system | lower }}-{{ 'amd64' if ansible_architecture | lower == 'x86_64' else ansible_architecture }}" | ||
_docker_composer_file_name: docker-compose-{{ _docker_composer_v2_0_0_file_ending if (docker_compose_version | default('latest', true) == '2.0.0') else _docker_composer_file_ending }} | ||
_docker_compose_download_url: https://github.com/docker/compose/releases/{{ 'latest/download' if docker_compose_version | default('latest', true) == 'latest' else 'download/' + docker_compose_version }}/{{ _docker_composer_file_name }} | ||
_docker_compose_checksum_url: "{{ _docker_compose_download_url }}.sha256" | ||
_docker_compose_bash_completion_download_url: https://raw.githubusercontent.com/docker/compose/{{ 'master' if docker_compose_version | default('latest', true) == 'latest' else docker_compose_version }}/contrib/completion/bash/docker-compose |