2019-06-14 11:54:27 +02:00
|
|
|
---
|
|
|
|
- name: verify that required parameters are set for drone general setup
|
|
|
|
fail:
|
|
|
|
msg: "Variable '{{ item }}' is not defined for drone general setup"
|
|
|
|
when: item not in vars
|
|
|
|
with_items:
|
|
|
|
- drone_rpc_secret
|
|
|
|
tags:
|
|
|
|
- configuration
|
|
|
|
|
|
|
|
- name: add config folder for drone
|
|
|
|
file:
|
|
|
|
path: "/etc/drone"
|
|
|
|
state: "directory"
|
|
|
|
tags:
|
|
|
|
- configuration
|
2020-05-02 17:22:22 +02:00
|
|
|
|
|
|
|
- name: ensure that the python docker library is present
|
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- python3-distutils
|
|
|
|
- python3-docker
|
|
|
|
state: present
|