Move wireguard peers
This commit is contained in:
parent
7cca56292c
commit
2b55a81c7f
@ -8,12 +8,6 @@
|
|||||||
render_blacklist:
|
render_blacklist:
|
||||||
- EMPTY
|
- EMPTY
|
||||||
tasks:
|
tasks:
|
||||||
- name: Read Variables
|
|
||||||
include_vars:
|
|
||||||
dir: vars
|
|
||||||
extensions:
|
|
||||||
- 'yml'
|
|
||||||
- 'yaml'
|
|
||||||
- file:
|
- file:
|
||||||
state: absent
|
state: absent
|
||||||
dest: '{{ render_path }}'
|
dest: '{{ render_path }}'
|
||||||
@ -46,12 +40,6 @@
|
|||||||
become: true
|
become: true
|
||||||
become_user: root
|
become_user: root
|
||||||
tasks:
|
tasks:
|
||||||
- name: Read Variables
|
|
||||||
include_vars:
|
|
||||||
dir: vars
|
|
||||||
extensions:
|
|
||||||
- 'yml'
|
|
||||||
- 'yaml'
|
|
||||||
- name: Install backup script
|
- name: Install backup script
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: backup.sh.j2
|
src: backup.sh.j2
|
||||||
@ -82,12 +70,6 @@
|
|||||||
gather_facts: true
|
gather_facts: true
|
||||||
tasks:
|
tasks:
|
||||||
- block:
|
- block:
|
||||||
- name: Read Variables
|
|
||||||
include_vars:
|
|
||||||
dir: vars
|
|
||||||
extensions:
|
|
||||||
- 'yml'
|
|
||||||
- 'yaml'
|
|
||||||
- name: Install backup script
|
- name: Install backup script
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: restore.sh.j2
|
src: restore.sh.j2
|
||||||
|
Loading…
Reference in New Issue
Block a user