add wireguard config for jefke

other updates
This commit is contained in:
Pim Kunis 2023-05-03 23:56:33 +02:00
parent e4d80ec703
commit 82df1fd1bf
6 changed files with 57 additions and 32 deletions

View file

@ -1,5 +1,5 @@
[defaults] [defaults]
roles_path=~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:roles roles_path=roles:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
inventory=inventory inventory=inventory
playbook_dir=playbooks playbook_dir=playbooks
vault_password_file=util/secret-service-client.sh vault_password_file=util/secret-service-client.sh

View file

@ -6,10 +6,11 @@ CustomProxyLocation=
Enabled=true Enabled=true
[FdoSecrets] [FdoSecrets]
Enabled=true
-NoConfirmDeleteItem=true -NoConfirmDeleteItem=true
Enabled=true
[GUI] [GUI]
AdvancedSettings=true
MinimizeOnClose=true MinimizeOnClose=true
MinimizeOnStartup=true MinimizeOnStartup=true
ShowTrayIcon=true ShowTrayIcon=true
@ -27,6 +28,7 @@ AdvancedMode=false
ExcludedChars= ExcludedChars=
Length=40 Length=40
SpecialChars=false SpecialChars=false
Type=0
UpperCase=true UpperCase=true
[SSHAgent] [SSHAgent]

View file

@ -63,6 +63,7 @@
section: "Default Applications" section: "Default Applications"
option: "{{ item }}" option: "{{ item }}"
value: "nvim.desktop" value: "nvim.desktop"
no_extra_spaces: true
loop: "{{ default_apps }}" loop: "{{ default_apps }}"
- name: Copy neovim.bashrc - name: Copy neovim.bashrc
copy: copy:

View file

@ -1,8 +1,8 @@
AddKeysToAgent yes AddKeysToAgent yes
Host brussels Host brussels
HostName brussels.studlab.os3.nl HostName 145.100.104.43
User pkunis User root
Host github.com Host github.com
HostName github.com HostName github.com
@ -10,14 +10,21 @@ Host github.com
IdentitiesOnly yes IdentitiesOnly yes
Host max Host max
HostName max.lan HostName max.dmz
User root User root
Host lewis Host lewis
HostName lewis.lan HostName lewis.hyp
User root User root
Host forgejo Host hermes
HostName git.pim.kunis.nl HostName hermes.dmz
Port 56287 User root
User git
Host atlas
HostName atlas.hyp
User root
# Default user
Host *
User root

View file

@ -18,6 +18,7 @@
- vim - vim
- telegram-desktop - telegram-desktop
- wget - wget
- vlc
- name: Install .gitconfig - name: Install .gitconfig
template: template:
src: "{{ role_path }}/templates/.gitconfig.j2" src: "{{ role_path }}/templates/.gitconfig.j2"

View file

@ -25,7 +25,7 @@ wireguard_interfaces:
always: true always: true
address: "10.42.0.2/32" address: "10.42.0.2/32"
peer_public_key: "NLI4IsIgb4if2FhP8BXJupTlC/guZfY4tG91dZ4t8jE=" peer_public_key: "NLI4IsIgb4if2FhP8BXJupTlC/guZfY4tG91dZ4t8jE="
endpoint: "atlas.lan:51820" endpoint: "atlas.hyp:51820"
allowed_ips: "10.42.0.1/32" allowed_ips: "10.42.0.1/32"
private_key: !vault | private_key: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
@ -35,3 +35,17 @@ wireguard_interfaces:
3162366232656534630a636639626134343638316665306362396363363034616163616662326136 3162366232656534630a636639626134343638316665306362396363363034616163616662326136
62363632393536356562306562366431383962646330353035323137613865333636356663363763 62363632393536356562306562366431383962646330353035323137613865333636356663363763
6137333432336533646534656437633539633065663931643633 6137333432336533646534656437633539633065663931643633
- name: jefke
always: true
address: "10.42.1.2/32"
peer_public_key: "IzTDzZGPKlGyVjW8MKyP0aFpVZ6Ul/o5fJJZ3pQKGFc="
endpoint: "jefke.hyp:51820"
allowed_ips: "10.42.1.1/32"
private_key: !vault |
$ANSIBLE_VAULT;1.1;AES256
39396361643039633361303266326166376236626430336534303330373766303063373839643031
6561323836616535323931643335313438306338396264360a653830353237396665373436316466
35353063646263353163303836383762313034653563663634613139303136323739626334313232
3162366232656534630a636639626134343638316665306362396363363034616163616662326136
62363632393536356562306562366431383962646330353035323137613865333636356663363763
6137333432336533646534656437633539633065663931643633