Compare commits
No commits in common. "cd921f6083fe76494328ea6985ff1ed3acae6689" and "04be1ffea0d86f5019705a3f1c6d1f3845de3b1c" have entirely different histories.
cd921f6083
...
04be1ffea0
5 changed files with 5 additions and 51 deletions
|
|
@ -101,10 +101,3 @@
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
name: sddm
|
name: sddm
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
- name: Restart nftables
|
|
||||||
become: true
|
|
||||||
ansible.builtin.systemd:
|
|
||||||
name: nftables
|
|
||||||
enabled: true
|
|
||||||
state: restarted
|
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,9 @@ syncthing_devices:
|
||||||
id: &syncthing_server_id ZM5JO5E-UYU6XUI-P25TLIP-TLPQD7J-NSPSYZS-A5OOYST-J62ICAQ-Y2A5YQV
|
id: &syncthing_server_id ZM5JO5E-UYU6XUI-P25TLIP-TLPQD7J-NSPSYZS-A5OOYST-J62ICAQ-Y2A5YQV
|
||||||
address: tcp://syncthing.{{ server_domain }}:22000
|
address: tcp://syncthing.{{ server_domain }}:22000
|
||||||
|
|
||||||
- name: P14
|
- name: XPS15
|
||||||
id: &syncthing_p14_id MT7RJP3-R7I233L-ICWRPUY-4BCSXCK-WVBPWQ4-JMVBX4Y-J35GB6G-YDQFHQ3
|
id: &syncthing_xps_id 2AC4LRC-YIJDWWK-YCOEZLT-4OWWC2E-7VEZQQB-F3AAPZR-HU75FE4-PGWWXQH
|
||||||
address: dynamic
|
address: tcp://10.0.0.2:22000
|
||||||
|
|
||||||
syncthing_folders:
|
syncthing_folders:
|
||||||
- id: default
|
- id: default
|
||||||
|
|
@ -26,7 +26,7 @@ syncthing_folders:
|
||||||
devices:
|
devices:
|
||||||
- *syncthing_desktop_id
|
- *syncthing_desktop_id
|
||||||
- *syncthing_server_id
|
- *syncthing_server_id
|
||||||
- *syncthing_p14_id
|
- *syncthing_xps_id
|
||||||
|
|
||||||
- id: pictures
|
- id: pictures
|
||||||
label: Pictures
|
label: Pictures
|
||||||
|
|
@ -35,4 +35,4 @@ syncthing_folders:
|
||||||
devices:
|
devices:
|
||||||
- *syncthing_desktop_id
|
- *syncthing_desktop_id
|
||||||
- *syncthing_server_id
|
- *syncthing_server_id
|
||||||
- *syncthing_p14_id
|
- *syncthing_xps_id
|
||||||
|
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
---
|
|
||||||
syncthing_listen_address: "0.0.0.0"
|
|
||||||
syncthing_protocol_port: 22000
|
|
||||||
syncthing_gui_port: 8384
|
|
||||||
|
|
||||||
syncthing_config_version: 51
|
|
||||||
|
|
||||||
syncthing_devices:
|
|
||||||
- name: Desktop
|
|
||||||
id: &syncthing_desktop_id CSDXP5E-4UBNC36-32EHTPK-L6Y6JVZ-HQHM42R-FJXN2LI-2MTYRFX-3ZZPUQN
|
|
||||||
address: dynamic
|
|
||||||
|
|
||||||
- name: Fudiggity
|
|
||||||
id: &syncthing_server_id ZM5JO5E-UYU6XUI-P25TLIP-TLPQD7J-NSPSYZS-A5OOYST-J62ICAQ-Y2A5YQV
|
|
||||||
address: tcp://syncthing.{{ server_domain }}:22000
|
|
||||||
|
|
||||||
syncthing_folders:
|
|
||||||
- id: default
|
|
||||||
label: Default
|
|
||||||
path: "{{ ansible_env.HOME }}/syncthing/default"
|
|
||||||
type: sendreceive
|
|
||||||
devices:
|
|
||||||
- *syncthing_desktop_id
|
|
||||||
- *syncthing_server_id
|
|
||||||
|
|
||||||
- id: pictures
|
|
||||||
label: Pictures
|
|
||||||
path: "{{ ansible_env.HOME }}/syncthing/pictures"
|
|
||||||
type: sendreceive
|
|
||||||
devices:
|
|
||||||
- *syncthing_desktop_id
|
|
||||||
- *syncthing_server_id
|
|
||||||
4
p14.yml
4
p14.yml
|
|
@ -20,10 +20,6 @@
|
||||||
ansible.builtin.import_tasks: "tasks/p14.yml"
|
ansible.builtin.import_tasks: "tasks/p14.yml"
|
||||||
tags: p14
|
tags: p14
|
||||||
|
|
||||||
- name: Syncthing provisioning
|
|
||||||
ansible.builtin.import_tasks: "tasks/syncthing.yml"
|
|
||||||
tags: syncthing
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: Import default handlers
|
- name: Import default handlers
|
||||||
ansible.builtin.import_tasks: handlers.yml
|
ansible.builtin.import_tasks: handlers.yml
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,6 @@ table inet filter {
|
||||||
|
|
||||||
# allow ssh
|
# allow ssh
|
||||||
tcp dport ssh accept
|
tcp dport ssh accept
|
||||||
|
|
||||||
# syncthing
|
|
||||||
ip saddr 10.0.0.1 tcp dport 22000 accept
|
|
||||||
}
|
}
|
||||||
|
|
||||||
chain forward {
|
chain forward {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue