ansible_drone/tasks/setup.yml

17 lines
366 B
YAML
Raw Normal View History

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