ansible_drone/tasks/custom_volumes.yml
2020-05-02 17:32:53 +02:00

37 lines
747 B
YAML

---
- name: create drone exchange directory
file:
path: /var/drone
state: directory
owner: root
group: root
mode: 0755
register: drone_agent_config
- name: create exchange path for build artifacts
file:
path: /var/builds
state: directory
owner: root
group: www-data
mode: 0775
register: drone_agent_config
- name: create exchange path for signal build artifacts
file:
path: /var/builds/signal
state: directory
owner: root
group: www-data
mode: 0775
register: drone_agent_config
- name: create exchange path for fenix build artifacts
file:
path: /var/builds/fenix
state: directory
owner: root
group: www-data
mode: 0775
register: drone_agent_config