Commit cc6e8608 authored by nanahira's avatar nanahira

add mcnetwork install playbook

parent fd038662
- hosts: wg
become: true
roles:
- wireguard
tasks:
- name: pull images
docker_image:
name: '{{item}}'
source: pull
with_items:
- git-registry.mycard.moe/railgun/gateways-monitor
- git-registry.mycard.moe/railgun/babeld
- git-registry.mycard.moe/nanahira/docker-ocserv
- git-registry.mycard.moe/railgun/openconnect
- name: debian packages
apt:
update_cache: true
name: netcat-openbsd,wireguard
when: ansible_os_family == 'Debian'
- name: wireguard directory
file:
name: /etc/wireguard
state: directory
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment