ansible_drone/tasks/setup.yml

24 lines
509 B
YAML

---
- 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
- name: ensure that the python docker library is present
apt:
name:
- python3-distutils
- python3-docker
state: present