added new roles

This commit is contained in:
pyrschtjag committed 2026-10-18 12:34:19 +04:00
1 parent d10d28a0d7
commit 04bfb22e48
73 files changed
+990 -96

No files matched your search

+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: asf
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: asf
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- asf
- zabbix-agent2
-12
View File
@@ -1,12 +0,0 @@
---
- name: bootstrap ssh keys via pct on all proxmox LXC containers
hosts: proxmox_all_lxc
gather_facts: false
roles:
- authorized-key
- name: router-specific pct-only network bootstrap (before ssh is reachable)
hosts: router
gather_facts: false
roles:
- ifupdown2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: byparr
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: byparr
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- byparr
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: coturn
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: coturn
vars:
@@ -13,3 +19,4 @@
- locales
- coturn
- certbot
- zabbix-agent2
+1 -1
View File
@@ -12,7 +12,7 @@
-o PreferredAuthentications=publickey,password
-o PubkeyAuthentication=yes
roles:
- authorized-key
- authorized-key-root
- sshd
- sysctl
- hostname
+1 -1
View File
@@ -12,7 +12,7 @@
-o PreferredAuthentications=publickey,password
-o PubkeyAuthentication=yes
roles:
- authorized-key
- authorized-key-root
- sshd
- sysctl
- hostname
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: gitea
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: gitea
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- gitea
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: lampa
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: lampa
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- lampa
- zabbix-agent2
+3 -1
View File
@@ -12,7 +12,9 @@
-o PreferredAuthentications=publickey,password
-o PubkeyAuthentication=yes
roles:
- authorized-key
- authorized-key-root
- timezone
- locales
- sshd
- sysctl
- hostname
+25
View File
@@ -0,0 +1,25 @@
---
- name: configure via pct
hosts: minidlna
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: minidlna
vars:
ansible_connection: ssh
ansible_host: "{{ ip }}"
ansible_user: root
ansible_ssh_private_key_file: ~/.ssh/id_ed25519
ansible_ssh_common_args: >-
-o UserKnownHostsFile=/dev/null
-o StrictHostKeyChecking=no
-o PreferredAuthentications=publickey,password
-o PubkeyAuthentication=yes
roles:
- sshd
- timezone
- locales
- minidlna
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: nfs
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: nfs
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- nfs
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: nginx
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: nginx
vars:
@@ -13,3 +19,4 @@
- locales
- nginx
- certbot
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: ntfy
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: ntfy
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- ntfy
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: pgsql
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: pgsql
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- pgsql
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: prosody
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: prosody
vars:
@@ -13,3 +19,4 @@
- locales
- prosody
- certbot
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: prowlarr
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: prowlarr
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- prowlarr
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: ps3netsrv
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: ps3netsrv
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- ps3netsrv
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: radicale
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: radicale
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- radicale
- zabbix-agent2
+9
View File
@@ -1,4 +1,11 @@
---
- name: configure via pct
hosts: router
gather_facts: false
roles:
- ifupdown2
- authorized-key-root
- name: configure over ssh
hosts: router
vars:
@@ -25,4 +32,6 @@
- unbound
- resolv
- nftables
- udp-broadcast-relay
- netutils
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: rtorrent
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: rtorrent
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- rtorrent
- zabbix-agent2
+2 -1
View File
@@ -1,5 +1,5 @@
---
- name: deploy rasy-rsa
- name: configure local
hosts: localhost
connection: local
become: true
@@ -8,3 +8,4 @@
- timezone
- locales
- easy-rsa
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: slskd
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: slskd
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- slskd
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: smb-legacy
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: smb-legacy
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- samba
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: torrserver
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: torrserver
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- torrserver
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: valheim
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: valheim
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- valheim
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: vaultwarden
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: vaultwarden
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- vaultwarden
- zabbix-agent2
+1 -1
View File
@@ -12,7 +12,7 @@
-o PreferredAuthentications=publickey,password
-o PubkeyAuthentication=yes
roles:
- authorized-key
- authorized-key-root
- sshd
- sysctl
- hostname
+21
View File
@@ -0,0 +1,21 @@
---
- name: configure via pct
hosts: work
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: work
vars:
ansible_connection: ssh
ansible_host: "{{ ip }}"
ansible_user: root
ansible_ssh_private_key_file: ~/.ssh/id_ed25519
ansible_ssh_common_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
roles:
- sshd
- timezone
- locales
- work
- zabbix-agent2
+7
View File
@@ -1,4 +1,10 @@
---
- name: configure via pct
hosts: zabbix
gather_facts: false
roles:
- authorized-key-root
- name: configure over ssh
hosts: zabbix
vars:
@@ -12,3 +18,4 @@
- timezone
- locales
- zabbix-server
- zabbix-agent2