infrastructure/roles/docker/defaults/main.yml
saibotk 2efc0e6f3c
fix(docker): Install python-requests library for the docker module
This is the only dependency that the docker module needs.
So we are installing this via the system package manager. Should be fine for now, as there does not seem to be incompatibilities or a specific version being requested.
2024-02-22 03:21:39 +01:00

59 lines
2.2 KiB
YAML

---
# Default variables for the docker role
# Infrastructure
# Ansible instructions to deploy the infrastructure
# Copyright (C) 2020 Saibotk
# Copyright (C) 2020 nickjj (https://github.com/nickjj/ansible-docker)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Architecture mapping for apt repositories
docker_apt_architecture_map:
"x86_64": "amd64"
"aarch64": "arm64"
"aarch": "arm64"
"armhf": "armhf"
"armv7l": "armhf"
# Edition can be one of: 'ce' (Community Edition) or 'ee' (Enterprise Edition).
docker_edition: "ce"
# The docker package settings
docker_package: "docker-{{ docker_edition }}"
docker_package_state: present
# Docker systemd service settings.
docker_service_state: started
docker_service_enabled: true
# Should the official docker repository be installed?
docker_install_repository: true
# The repository settings
# The repository will be added as a repository to allow downloading/installing the package
docker_yum_repository_url: https://download.docker.com/linux/centos/docker-{{ docker_edition }}.repo
docker_yum_repository_destination: /etc/yum.repos.d/docker-{{ docker_edition }}.repo
# Where to fetch the docker repository GPG key from
docker_yum_repository_gpg_key: https://download.docker.com/linux/centos/gpg
# The apt repository settings
docker_apt_key_id: "9DC858229FC7DD38854AE2D88D81803C0EBFCD88"
docker_apt_key_url: "https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg"
docker_apt_repository: >
deb [arch={{ docker_apt_architecture_map[ansible_architecture] }}]
https://download.docker.com/linux/{{ ansible_distribution | lower }}
{{ ansible_distribution_release }} stable
docker_requests_python_package: "python-requests"