chore(agent): check drone_server_host
This commit is contained in:
parent
af8b241df5
commit
14f0df0dfe
|
@ -1,4 +1,13 @@
|
||||||
---
|
---
|
||||||
|
- name: verify that required parameters are set for drone agent setup
|
||||||
|
fail:
|
||||||
|
msg: "Variable '{{ item }}' is not defined for drone agent setup"
|
||||||
|
when: item not in vars
|
||||||
|
with_items:
|
||||||
|
- drone_server_host
|
||||||
|
tags:
|
||||||
|
- configuration
|
||||||
|
|
||||||
- name: copy config for drone agent
|
- name: copy config for drone agent
|
||||||
template:
|
template:
|
||||||
src: "drone-agent.env.j2"
|
src: "drone-agent.env.j2"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user