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

28 lines
700 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: Check if Docker is Present
command: docker
register: result
ignore_errors: True
tags: [docker]
- name: Error! Docker not found
fail:
msg: "Docker not installed on MacOSX, please visit: https://docs.docker.com/docker-for-mac/install/"
when: result is failed
tags: [docker]
- name: Check if Docker is running
command: docker info
register: info_result
ignore_errors: True
tags: [docker]
- name: Error! Docker not running
fail:
msg: "Docker not running."
when: info_result is failed
tags: [docker]