Commit 08cdb9e0 authored by nanahira's avatar nanahira

pull images

parent 167eeefb
......@@ -2,3 +2,12 @@
become: true
roles:
- wireguard
tasks:
- name: pull images
docker_image:
name: '{{item}}'
source: pull
with_items:
- fatedier/frps:v0.34.2
- fatedier/frpc:v0.34.2
- git-registry.mycard.moe/nanahira/docker-bird
......@@ -2,7 +2,7 @@
- name: 安装软件包 (apt)
become: true
apt:
name: wireguard
name: wireguard,ipset
update_cache: yes
when: ansible_os_family == 'Debian'
- name: WireGuard 源 (CentOS)
......@@ -25,7 +25,7 @@
yum:
state: latest
update_cache: true
name: wireguard-tools,wireguard-dkms
name: wireguard-tools,wireguard-dkms,ipset
when: "ansible_os_family == 'RedHat' and ansible_distribution_major_version|int <= 7"
- name: epel 8
become: true
......@@ -37,7 +37,7 @@
become: true
dnf:
state: latest
name: wireguard-tools,wireguard-dkms
name: wireguard-tools,wireguard-dkms,ipset
when: "ansible_os_family == 'RedHat' and ansible_distribution_major_version|int == 8"
- name: config directories
file:
......
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