--- # Default variables for the docker role # Infrastructure # Ansible instructions to deploy the infrastructure # Copyright (C) 2020 Saibotk # # 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 . # 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 # The repository settings # The repository will be added as a yum repository to allow downloading/installing the package docker_yum_repo_url: https://download.docker.com/linux/centos/docker-{{ docker_edition }}.repo docker_yum_repo_enable_edge: '0' docker_yum_repo_enable_test: '0' # Where to fetch the docker repository GPG key from docker_yum_gpg_key: https://download.docker.com/linux/centos/gpg # Should the python package for docker be installed via pip? docker_python_package_install: true # Where should it be installed? (Note: This will be installed as a standalone without breaking system dependencies) docker_python_package_path: /opt/python2/ansible-dependencies # The name of the package to install pip via yum docker_python_pip_package: "python-pip" docker_python_pip_package_state: "present" # The name of the package to install virtualenv via yum docker_python_virtualenv_package: "python-virtualenv" docker_python_virtualenv_package_state: "present" # The pip package name of the docker library docker_pip_package: "docker" docker_pip_package_state: "present" docker_pip_package_version: "{{ omit }}" # This will be omitted by default, so the latest version will be installed.