ansible_drone/tasks/setup.yml
2019-06-14 17:54:27 +08:00

17 lines
366 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