--- | |
# docker tasks/Debian.yml | |
# | |
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> | |
# SPDX-License-Identifier: Apache-2.0 | |
- name: Install Docker daemon apt package | |
apt: | |
name: "{{ docker_package }}={{ docker_apt_epoch }}:{{ docker_version }}*" | |
state: "present" | |
update_cache: true | |
cache_valid_time: 3600 | |
- name: Start and Enable Docker Service | |
service: | |
name: "{{ docker_service }}" | |
state: "started" | |
enabled: true |