move aurto to hetzner cloud
This commit is contained in:
parent
7845faeac3
commit
b38bc67a60
3 changed files with 65 additions and 99 deletions
|
@ -1,99 +0,0 @@
|
||||||
nodes['aurto'] = {
|
|
||||||
'hostname': '31.47.232.107',
|
|
||||||
'bundles': {
|
|
||||||
'backup-client',
|
|
||||||
'check-mail-received',
|
|
||||||
},
|
|
||||||
'groups': {
|
|
||||||
'arch',
|
|
||||||
'webserver',
|
|
||||||
},
|
|
||||||
'metadata': {
|
|
||||||
'icinga_options': {
|
|
||||||
'also_affected_by': {
|
|
||||||
'rx300',
|
|
||||||
},
|
|
||||||
'period': 'daytime',
|
|
||||||
},
|
|
||||||
'backups': {
|
|
||||||
'paths': {
|
|
||||||
'/var/cache/pacman/aurto',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'check-mail-received': {
|
|
||||||
't-online': {
|
|
||||||
'email': 'franzi.kunsmann@t-online.de',
|
|
||||||
'imap_host': 'secureimap.t-online.de',
|
|
||||||
'imap_pass': bwpass.attr('t-online.de/franzi.kunsmann@t-online.de', 'imap'),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'description': [
|
|
||||||
'When adding packages to aurto, please also add those packages to ~/PACKAGES',
|
|
||||||
'Wenn Pakete zu aurto hinzugefügt werden, trage sie bitte auch in ~/PACKAGES ein',
|
|
||||||
],
|
|
||||||
'interfaces': {
|
|
||||||
'enp1s0': {
|
|
||||||
'ips': {
|
|
||||||
'31.47.232.107/29',
|
|
||||||
'2a00:f820:528::3/64',
|
|
||||||
},
|
|
||||||
'gateway4': '31.47.232.105',
|
|
||||||
'gateway6': '2a00:f820:528::1',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'nginx': {
|
|
||||||
'vhosts': {
|
|
||||||
'aurto': {
|
|
||||||
'domain': 'aurto.kunbox.net',
|
|
||||||
'webroot': '/var/cache/pacman/aurto',
|
|
||||||
'extras': True,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'pacman': {
|
|
||||||
'enable_aurto': False,
|
|
||||||
'additional_config': {
|
|
||||||
'Include = /etc/pacman.d/aurto',
|
|
||||||
},
|
|
||||||
'unattended-upgrades': {
|
|
||||||
'is_enabled': True,
|
|
||||||
'hour': 22, # one hour after the host
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'sudo': {
|
|
||||||
'extra_configs': {
|
|
||||||
'50_aurto_passwordless': {
|
|
||||||
'%wheel ALL=(ALL) NOPASSWD: /usr/bin/arch-nspawn',
|
|
||||||
'%wheel ALL=(ALL) NOPASSWD: /usr/bin/pacsync aurto',
|
|
||||||
'%wheel ALL=(ALL) NOPASSWD:SETENV: /usr/bin/makechrootpkg',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'users': {
|
|
||||||
'aurto': {
|
|
||||||
'groups': {
|
|
||||||
'wheel',
|
|
||||||
},
|
|
||||||
'ssh_pubkey': {
|
|
||||||
# e1mo
|
|
||||||
'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBfbb4m4o89EumFjE8ichX03CC/mWry0JYaz91HKVJPb e1mo',
|
|
||||||
'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID9x/kL2fFqQSEyFvdEgiM2UKYAZyV1oct9alS6mweVa e1mo (ssh_0x6D617FD0A85BAADA)',
|
|
||||||
# f2k1de
|
|
||||||
'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGrvhqC/tZzpLMs/qy+1xNSVi2mfn8LXPIEhh7dcGn9e',
|
|
||||||
'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDH5+j2vDW1FHSSEEI/Sf5qiKJq1uoxGO5BPv84mqohvol7GxDFObv69tn7g6HYfZY/SaS75C4ZXy+cKa0xy8UCpF0SBa2xHASkenS9v55oweDL4rYSPARzn2XKt3RFJG/d8V5NOWtcyq5DFSzewUF35E4hx1pUc/CIxgJEem5ZvzvN0hlIKXUN2djkVUx+mz6RryBysLTJEFBamjJxIkvDG/PZU73W4SHaKAYV4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.eu',
|
|
||||||
'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8xqVakxJ+AwcIrS/wyL03N++pE09epwMFlIMXWvlpwwEp1J/0H7nygwxk/9LIZdabs/ETWn0s8oHAkc7YR1c6ajSTCDiZEYATAWt7t8t4Gw/80c8u8T50lIqmiDEEVbOVv3Vta/pAN4hAUp9U5DpYCkQbvF+NKKcK3Yp8d9usNC6ohqgTK+IGAEdMhvpbbNppDMXoWHuynBzUX7TS6ST6yEr0tD+CBbCpbfcMuwTI3lNtfywEVpuFaeHqDZx2QDrEX4bg0dRKgQstbXYdqmBfnOiBpUr8Wyl8U1J24rN+E07pBw/8KDGWbVg19/Ex8o4ht/p5voUfKVjD/DwWXTLntBirjfAgQAm4GH/qP4x3zNiTtlYlQFbXSk6VEVrTrxCB5rTWvGnhg31tk5P3YwvagDmGABazY5s/8tlttSc1yWBctWQJCjxSqcCLekxG4D1rVuGKCKOZgflQ9QFdQlKycInPBek3zi0i3GYkE1YnNFye5ggOnxT8qGuKjfdtZI9qvMJQO8lbEDzbYQvNns1V/k4ZobiihYwrG5TJUzZFEpMYetDK6tI8BRU11d+ja0jWzguj5/7wc0nrr/BiZ8FkAr2fZ60j2aI5kG0s3qjbrQbB/RXaGP9hRU0+480+IokNJJIcjv5iwH5ophdrjC8GH4So2kPPt0NXob1yNysdjw== simeon@noemis.me (OLD)',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'kunsi': {
|
|
||||||
'groups': {
|
|
||||||
'wheel',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
65
nodes/htz-cloud.aurto.toml
Normal file
65
nodes/htz-cloud.aurto.toml
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
hostname = "2a01:4f9:c010:95fa::2"
|
||||||
|
bundles = ["backup-client"]
|
||||||
|
groups = [
|
||||||
|
"arch",
|
||||||
|
"webserver",
|
||||||
|
]
|
||||||
|
|
||||||
|
[metadata]
|
||||||
|
description = [
|
||||||
|
"When adding packages to aurto, please also add those packages to ~/PACKAGES",
|
||||||
|
"Wenn Pakete zu aurto hinzugefügt werden, trage sie bitte auch in ~/PACKAGES ein",
|
||||||
|
]
|
||||||
|
|
||||||
|
[metadata.icinga_options]
|
||||||
|
period = "daytime"
|
||||||
|
|
||||||
|
[metadata.backups]
|
||||||
|
paths = [
|
||||||
|
"/var/cache/pacman/aurto",
|
||||||
|
]
|
||||||
|
|
||||||
|
[metadata.interfaces.enp1s0]
|
||||||
|
ips = ["2a01:4f9:c010:95fa::2/64"]
|
||||||
|
gateway6 = "fe80::1"
|
||||||
|
|
||||||
|
[metadata.interfaces.enp7s0]
|
||||||
|
ips = ["172.19.137.4/32"]
|
||||||
|
gateway4 = "172.19.137.1"
|
||||||
|
|
||||||
|
[metadata.nginx.vhosts.aurto]
|
||||||
|
domain = "aurto.kunbox.net"
|
||||||
|
webroot = "/var/cache/pacman/aurto"
|
||||||
|
extras = true
|
||||||
|
|
||||||
|
[metadata.pacman]
|
||||||
|
enable_aurto = false
|
||||||
|
additional_config = [
|
||||||
|
"Include = /etc/pacman.d/aurto",
|
||||||
|
]
|
||||||
|
|
||||||
|
[metadata.pacman.unattended-upgrades]
|
||||||
|
is_enabled = true
|
||||||
|
|
||||||
|
[metadata.sudo.extra_configs]
|
||||||
|
50_aurto_passwordless = [
|
||||||
|
"%wheel ALL=(ALL) NOPASSWD: /usr/bin/arch-nspawn",
|
||||||
|
"%wheel ALL=(ALL) NOPASSWD: /usr/bin/pacsync aurto",
|
||||||
|
"%wheel ALL=(ALL) NOPASSWD:SETENV: /usr/bin/makechrootpkg",
|
||||||
|
]
|
||||||
|
|
||||||
|
[metadata.users.aurto]
|
||||||
|
groups = ["wheel"]
|
||||||
|
ssh_pubkey = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBfbb4m4o89EumFjE8ichX03CC/mWry0JYaz91HKVJPb",
|
||||||
|
"ssh-ed25519 AAAAC3Nza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ophdrjC8GH4So2kPPt0NXob1yNysdjw==",
|
||||||
|
]
|
||||||
|
|
||||||
|
[metadata.users.kunsi]
|
||||||
|
groups = ["wheel"]
|
Loading…
Reference in a new issue