Archive Legacy Setup And Add Ansible Control Plane
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
- name: Check WireGuard tunnel from ru-vps
|
||||
hosts: ru-vps
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Ping wg-mini WireGuard address
|
||||
ansible.builtin.command: ping -c 3 -W 2 10.77.0.2
|
||||
changed_when: false
|
||||
|
||||
- name: Check mini-pc PVE port through wg-mini gateway
|
||||
ansible.builtin.command: nc -vz -w 5 192.168.1.10 8006
|
||||
changed_when: false
|
||||
|
||||
- name: Check cloud-pc PVE port through wg-mini gateway
|
||||
ansible.builtin.command: nc -vz -w 5 192.168.1.5 8006
|
||||
changed_when: false
|
||||
|
||||
- name: Check PBS port through wg-mini gateway
|
||||
ansible.builtin.command: nc -vz -w 5 192.168.1.20 8007
|
||||
changed_when: false
|
||||
Reference in New Issue
Block a user