Commit 8341587f authored by nanahira's avatar nanahira

add mcnetwork install stuff

parent cc6e8608
- hosts: rcloud
remote_user: root
tasks:
- name: process
import_tasks: ./tasks/mcnetwork-install-process.yaml
- hosts: wg
become: true
roles:
- wireguard
- hosts: router_nextgen
remote_user: root
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
- name: process
import_tasks: ./tasks/mcnetwork-install-process.yaml
- 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
become: true
apt:
update_cache: true
name: netcat-openbsd,wireguard
when: ansible_os_family == 'Debian'
- name: wireguard directory
become: true
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