Troy McConaghy abdd23f5a6 Problem: Source files contain no license info (#2455)
* Problem: Source files contain no license info

Solution: Add comments with SPDX license info to source files

* Python 3 files don't need # -*- coding: utf-8 -*-
2018-08-16 12:31:32 +02:00

38 lines
841 B
YAML

# Copyright BigchainDB GmbH and BigchainDB contributors
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
# Code is Apache-2.0 and docs are CC-BY-4.0
---
- name: Uninstall older versions of Docker | Fedora
dnf:
name: "{{ item }}"
state: absent
with_items:
- docker-engine-selinux
- docker-common
- docker-engine
- docker-selinux
when: uninstall_old_version
tags: [docker]
- name: Setup Pre-reqs | Fedora
dnf:
name: "{{ item }}"
state: present
with_items:
- dnf-plugins-core
tags: [docker]
- name: Add Docker repo | Fedora
shell: "dnf config-manager --add-repo {{ docker_dnf_repo }}"
tags: [docker]
- name: Update Cache | Fedora
shell: "dnf makecache fast"
tags: [docker]
- name: Install Docker | Fedora
dnf:
name: "{{ docker_pkg }}"
state: present
tags: [docker]