bundlewrap/nodes/aurto.py

68 lines
2.5 KiB
Python
Raw Normal View History

2021-05-23 12:33:20 +00:00
nodes['aurto'] = {
'hostname': '31.47.232.107',
2021-05-23 12:33:20 +00:00
'bundles': {
2021-06-29 12:58:14 +00:00
'backup-client',
2021-05-23 12:33:20 +00:00
},
'groups': {
'arch',
'webserver',
2021-05-23 12:33:20 +00:00
},
'metadata': {
'icinga_options': {
'also_affected_by': {
'rx300',
},
},
'backups': {
'paths': {
'/var/cache/pacman/aurto',
},
},
2021-05-23 12:33:20 +00:00
'interfaces': {
'enp1s0': {
'ips': {
'31.47.232.107/29',
'2a00:f820:528::3/64',
2021-05-23 12:33:20 +00:00
},
'gateway4': '31.47.232.105',
'gateway6': '2a00:f820:528::1',
2021-05-23 12:33:20 +00:00
},
},
'nginx': {
'vhosts': {
'aurto': {
'domain': 'aurto.kunbox.net',
'webroot': '/var/cache/pacman/aurto',
'extras': True,
},
},
},
2021-05-23 12:33:20 +00:00
'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': {
# kunsi
'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICYst1HK+gJYhNxzqJGnz4iB73pa89Xz2yH+8wufOcsA',
'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+ja1z5VRQzaKCCePsUM14qMr9QR94qlWc7Je5Poki9UmC1t/TyxRVzcCBL1ZdIfBGx6QKtfkEbvhgb3nxVt3PvXjoJrc6wwGLmNrVsU6B88y35g7nzupQiPKYJwkNzJ9j6Dmkgj1F5Q+aY2SitDaX6vqICLJ4Al/ZFw2IQxVJfC7JXRJ9jRMG5o9gWoE3gWDYEAmw+HU2mNzyeuaD12qJw9DHUimAlgkOWzll3gh9WclsYnnXGrCCn5fyHFUCJl+XXAIy519z7YTpKih02rsIOw5dnaGClBZD/YQu2ZKVFZiwIVH7aBiqHOmtgRyWTQgjbh/fMpIN0ar2f/iZsWYUjd6et48TOmXZYIPCQ5FivXNvxt9oo1XZfq76UHBwlmypLJIWROMbz375n2M6hr3hECuxuPjKEUXAv05KiC1aJ4xc6pFoVhqwAR99hvHw5U4o7/ko2NVjNpTu6Jr5DT5VaQLIdDDjC/93kUjMpdD/8P72bEn7454+WexU6OE6uvNiHj1fetrptr2UAuzVfnCoaV8pBqY7X95gk+lnSENdpr8ltJYMg8s0Z7Pzz0OxsZtzzDY5VmWfC9TCdJkN5lT8IbnaixsYlWdjQl1lMmZGElmelfU3K7YQLAbZiHmHKe4hTl9ZoCcWdTQ3d4y2t1DBos+N2HZNdtFCyOS8esDdMw== cardno:000609506971',
},
},
2021-05-23 12:33:20 +00:00
'kunsi': {
'groups': {
'wheel',
},
},
},
},
}