Include needed scripts
This commit is contained in:
parent
35a6017f7d
commit
8ead2bc0fe
4 changed files with 35 additions and 1 deletions
|
|
@ -15,11 +15,29 @@
|
|||
state: directory
|
||||
|
||||
# 3. Install others scripts
|
||||
- name: configure wg-adlin
|
||||
copy:
|
||||
src: "/etc/wireguard/wg-adlin.conf"
|
||||
dest: "/var/lib/lxc/{{ ctr_name }}/rootfs/etc/wg-adlin.conf"
|
||||
remote_src: true
|
||||
tags:
|
||||
- wireguard
|
||||
|
||||
- name: Copy wg-sync.sh
|
||||
copy:
|
||||
src: "wg-sync.sh"
|
||||
dest: "/var/lib/lxc/{{ ctr_name }}/rootfs/root/wg-sync.sh"
|
||||
mode: 0755
|
||||
tags:
|
||||
- wireguard
|
||||
|
||||
- name: Retrieve clean-wg.sh
|
||||
get_url:
|
||||
url: https://git.nemunai.re/teach/adlin/raw/branch/master/token-validator/clean-wg.sh
|
||||
dest: "/var/lib/lxc/{{ ctr_name }}/rootfs/usr/sbin/clean-wg.sh"
|
||||
mode: 0755
|
||||
tags:
|
||||
- wireguard
|
||||
|
||||
- name: Add update-adlin script
|
||||
template:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue