mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-05-05 01:16:31 +02:00
Change to nightly (noble)
This commit is contained in:
parent
87a0f0bdce
commit
cf855d1b03
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
# Edition can be one of: 'ce' (Community Edition) or 'ee' (Enterprise Edition).
|
# Edition can be one of: 'ce' (Community Edition) or 'ee' (Enterprise Edition).
|
||||||
docker_edition: 'ce'
|
docker_edition: "ce"
|
||||||
docker_packages:
|
docker_packages:
|
||||||
- "docker-{{ docker_edition }}"
|
- "docker-{{ docker_edition }}"
|
||||||
- "docker-{{ docker_edition }}-cli"
|
- "docker-{{ docker_edition }}-cli"
|
||||||
@ -41,7 +41,7 @@ docker_add_repo: true
|
|||||||
docker_repo_url: https://download.docker.com/linux
|
docker_repo_url: https://download.docker.com/linux
|
||||||
|
|
||||||
# Used only for Debian/Ubuntu/Pop!_OS/Linux Mint. Switch 'stable' to 'nightly' if needed.
|
# Used only for Debian/Ubuntu/Pop!_OS/Linux Mint. Switch 'stable' to 'nightly' if needed.
|
||||||
docker_apt_release_channel: stable
|
docker_apt_release_channel: nightly
|
||||||
# docker_apt_ansible_distribution is a workaround for Ubuntu variants which can't be identified as such by Ansible,
|
# docker_apt_ansible_distribution is a workaround for Ubuntu variants which can't be identified as such by Ansible,
|
||||||
# and is only necessary until Docker officially supports them.
|
# and is only necessary until Docker officially supports them.
|
||||||
docker_apt_ansible_distribution: "{{ 'ubuntu' if ansible_distribution in ['Pop!_OS', 'Linux Mint'] else ansible_distribution }}"
|
docker_apt_ansible_distribution: "{{ 'ubuntu' if ansible_distribution in ['Pop!_OS', 'Linux Mint'] else ansible_distribution }}"
|
||||||
@ -54,8 +54,8 @@ docker_apt_filename: "docker"
|
|||||||
|
|
||||||
# Used only for RedHat/CentOS/Fedora.
|
# Used only for RedHat/CentOS/Fedora.
|
||||||
docker_yum_repo_url: "{{ docker_repo_url }}/{{ (ansible_distribution == 'Fedora') | ternary('fedora','centos') }}/docker-{{ docker_edition }}.repo"
|
docker_yum_repo_url: "{{ docker_repo_url }}/{{ (ansible_distribution == 'Fedora') | ternary('fedora','centos') }}/docker-{{ docker_edition }}.repo"
|
||||||
docker_yum_repo_enable_nightly: '0'
|
docker_yum_repo_enable_nightly: "0"
|
||||||
docker_yum_repo_enable_test: '0'
|
docker_yum_repo_enable_test: "0"
|
||||||
docker_yum_gpg_key: "{{ docker_repo_url }}/centos/gpg"
|
docker_yum_gpg_key: "{{ docker_repo_url }}/centos/gpg"
|
||||||
|
|
||||||
# A list of users who will be added to the docker group.
|
# A list of users who will be added to the docker group.
|
||||||
|
@ -61,6 +61,5 @@
|
|||||||
repo: "{{ docker_apt_repository }}"
|
repo: "{{ docker_apt_repository }}"
|
||||||
state: present
|
state: present
|
||||||
filename: "{{ docker_apt_filename }}"
|
filename: "{{ docker_apt_filename }}"
|
||||||
validate_certs: false
|
|
||||||
update_cache: true
|
update_cache: true
|
||||||
when: docker_add_repo | bool
|
when: docker_add_repo | bool
|
||||||
|
Loading…
Reference in New Issue
Block a user