docker-services/tasks/wireguard.yml

17 lines
349 B
YAML
Raw Permalink Normal View History

2023-10-26 14:42:56 +02:00
---
- name: wireguard | check vars are defined
assert:
that:
- wireguard_domain is defined
tags: ['docker_wireguard']
- include_tasks: base.yml
tags: ['docker_wireguard']
- name: 'wireguard | create docker volumes'
docker_volume:
name: '{{ item }}'
with_items:
- 'wireguard__etc_wireguard'
tags: ['docker_wireguard']