added wireguard submodule and snapper conf for boot
configured SSH key and wireguard added libreofffice removed prefixlength from wg_ips updated wg-roadwarrior script added ip forwarding to wireguard moved inventory into private repo
This commit is contained in:
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
[submodule "wg-roadwarrior"]
|
||||
path = wg-roadwarrior
|
||||
url = ssh://git@git.v-tr.org:2020/violet/wg-roadwarrior.git
|
||||
[submodule "private"]
|
||||
path = private
|
||||
url = ssh://git@git.v-tr.org:2020/violet/ansible-private.git
|
||||
@@ -103,18 +103,34 @@
|
||||
command:
|
||||
cmd: snapper -c home create-config /home
|
||||
creates: /etc/snapper/configs/home
|
||||
- name: setup snapper config for boot filesystem
|
||||
command:
|
||||
cmd: snapper -c boot create-config /boot
|
||||
creates: /etc/snapper/configs/boot
|
||||
- name: disable timed root snapshots
|
||||
lineinfile:
|
||||
path: /etc/snapper/configs/root
|
||||
regexp: "TIMELINE_CREATE"
|
||||
line: 'TIMELINE_CREATE="no"'
|
||||
notify: restart snapper
|
||||
- name: disable timed boot snapshots
|
||||
lineinfile:
|
||||
path: /etc/snapper/configs/boot
|
||||
regexp: "TIMELINE_CREATE"
|
||||
line: 'TIMELINE_CREATE="no"'
|
||||
notify: restart snapper
|
||||
- name: set root snapshot max numbers
|
||||
lineinfile:
|
||||
path: /etc/snapper/configs/root
|
||||
regexp: "NUMBER_LIMIT"
|
||||
line: 'NUMBER_LIMIT="8"'
|
||||
notify: restart snapper
|
||||
- name: set boot snapshot max numbers
|
||||
lineinfile:
|
||||
path: /etc/snapper/configs/boot
|
||||
regexp: "NUMBER_LIMIT"
|
||||
line: 'NUMBER_LIMIT="8"'
|
||||
notify: restart snapper
|
||||
- name: set user permissions for home snapshots
|
||||
lineinfile:
|
||||
path: /etc/snapper/configs/home
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
ungrouped:
|
||||
hosts:
|
||||
saljut.v-tr.org:
|
||||
ssh_keys:
|
||||
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGMRYoZA25jBiHuqBqTtnC6E/dxmKz3p5FzMzDFKJLd+ vi@gridlock'
|
||||
@@ -20,6 +20,7 @@
|
||||
- borgbackup
|
||||
- gimp
|
||||
- neofetch
|
||||
- libreoffice
|
||||
state: present
|
||||
- name: install flatpaks
|
||||
flatpak:
|
||||
|
||||
1
private
Submodule
1
private
Submodule
Submodule private added at 8a81ce674b
1
wg-roadwarrior
Submodule
1
wg-roadwarrior
Submodule
Submodule wg-roadwarrior added at c7e857aa4e
Reference in New Issue
Block a user