blob: f64c0f40d6806fe80cb21ec178830cd32101878d [file] [log] [blame]
---
# 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