♻️: no more inventory vars

This commit is contained in:
VC
2024-09-10 15:55:31 +02:00
parent a2a629c152
commit 5ca14e8fa8
19 changed files with 127 additions and 107 deletions

View File

@@ -0,0 +1,8 @@
---
restic_backup_path:
- /home
- /etc
restic_backup_excluded_path:
- /home/.snapshots
restic_backup_hour: 19
restic_backup_minute: 30

View File

@@ -1,4 +1,16 @@
--- ---
web_hostname:
- sonarr.mateu.be
- jackett.mateu.be
- bt.mateu.be
- btf.mateu.be
nginx_extra_mods:
- fancyindex
restic_backup_path:
- /etc
- /var/lib/transmission-daemon
- /opt/Jackett
transmission_user: !vault | transmission_user: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256

View File

@@ -0,0 +1,2 @@
---
natted_ipv4: 82.66.135.228

View File

@@ -1,4 +1,11 @@
--- ---
restic_backup_path:
- /mnt/tank
restic_backup_excluded_path:
- /mnt/tank/s3/.minio.sys
- /mnt/tank/iocage
restic_backup_hour: 6
restic_backup_minute: 45
ansible_python_interpreter: /usr/local/bin/python3 ansible_python_interpreter: /usr/local/bin/python3

View File

@@ -0,0 +1,16 @@
---
web_hostname:
- garage.mateu.be
- mastodon-ndfr.garage.mateu.be
- medias.m.nintendojo.fr
- nextcloud-libertus.garage.mateu.be
- peertube-videos-ndfr.garage.mateu.be
- videos.p.nintendojo.fr
- peertube-playlists-ndfr.garage.mateu.be
- playlists.p.nintendojo.fr
- peertube-original-ndfr.garage.mateu.be
- original.p.nintendojo.fr
restic_backup_path:
- /etc
- /var/lib/private/garage

View File

@@ -0,0 +1,9 @@
---
web_hostname:
- libertus.eu
- upload.libertus.eu
- xmpp.libertus.eu
restic_backup_path:
- /etc
- /var/lib/prosody

View File

@@ -0,0 +1,9 @@
---
web_hostname:
- imap.libertus.eu
- smtp.libertus.eu
restic_backup_path:
- /home
- /etc
- /var/lib/mailman

View File

@@ -1,4 +1,11 @@
--- ---
web_hostname:
- m.nintendojo.fr
restic_backup_path:
- /srv
- /etc
- /var/lib/oolatoocs
oolatoocs_mastodon_client_id: !vault | oolatoocs_mastodon_client_id: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256

View File

@@ -1,4 +1,7 @@
--- ---
web_hostname:
- munin.mateu.be
mikrotik_unitary_scripts: mikrotik_unitary_scripts:
- mikrotikcpu_ - mikrotikcpu_
- mikrotikmemory_ - mikrotikmemory_

View File

@@ -0,0 +1,6 @@
---
restic_backup_path:
- /home
- /etc
restic_backup_hour: 21
restic_backup_minute: 0

View File

@@ -0,0 +1,2 @@
---
master: true

View File

@@ -0,0 +1,8 @@
---
restic_backup_path:
- /home
- /etc
restic_backup_excluded_path:
- /home/.snapshots
restic_backup_hour: 18
restic_backup_minute: 30

View File

@@ -0,0 +1,3 @@
---
web_hostname:
- p.nintendojo.fr

View File

@@ -0,0 +1,4 @@
---
restic_backup_path:
- /etc
- /var/lib/mumble-server

View File

@@ -0,0 +1,3 @@
---
web_hostname:
- radio.nintendojo.fr

View File

@@ -1,4 +1,16 @@
--- ---
php_modules: ['opcache', 'pgsql', 'mbstring', 'gd', 'intl', 'curl', 'gettext', 'imap', 'zip', 'apcu', 'imagick', 'bcmath', 'gmp']
php_memory_limit: "512M"
web_hostname:
- fav.libertus.eu
- rss.libertus.eu
- o.libertus.eu
- blog.libertus.eu
- mail.libertus.eu
- perso.nintendojo.fr
- perso.libertus.eu
- r.mateu.be
mariadb_root_pass: !vault | mariadb_root_pass: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256

View File

@@ -1,4 +1,14 @@
--- ---
php_modules: ['opcache', 'mysql', 'mbstring', 'gd', 'intl', 'xml', 'bcmath', 'curl', 'imagick']
web_hostname:
- analyse.nintendojo.fr
- nintendojo.fr
- www.nintendojo.fr
- forum.nintendojo.fr
- nintendojofr.com
- www.nintendojofr.com
- forum.nintendojofr.com
mariadb_root_pass: !vault | mariadb_root_pass: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256

View File

@@ -1,4 +1,9 @@
--- ---
php_modules: ['opcache', 'mysql', 'mbstring', 'gd', 'intl', 'xml', 'bcmath', 'curl', 'imagick']
web_hostname:
- sebicomics.com
- www.sebicomics.com
mariadb_root_pass: !vault | mariadb_root_pass: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256

View File

@@ -10,72 +10,23 @@ hypervisors:
resticservers: resticservers:
hosts: hosts:
muse-HP-EliteBook-820-G2.home.arpa: muse-HP-EliteBook-820-G2.home.arpa:
restic_backup_path:
- /home
- /etc
restic_backup_hour: 21
restic_backup_minute: 0
baybay-ponay.mateu.be: baybay-ponay.mateu.be:
restic_backup_path:
- /home
- /etc
restic_backup_excluded_path:
- /home/.snapshots
restic_backup_hour: 19
restic_backup_minute: 30
pinkypie.home.arpa: pinkypie.home.arpa:
restic_backup_path:
- /home
- /etc
restic_backup_excluded_path:
- /home/.snapshots
restic_backup_hour: 18
restic_backup_minute: 30
bt.dmz.mateu.be: bt.dmz.mateu.be:
restic_backup_path:
- /etc
- /var/lib/transmission-daemon
- /opt/Jackett
web[1:3].dmz.mateu.be: web[1:3].dmz.mateu.be:
es1.dmz.mateu.be: es1.dmz.mateu.be:
pt1.dmz.mateu.be: pt1.dmz.mateu.be:
mail.dmz.mateu.be: mail.dmz.mateu.be:
restic_backup_path:
- /home
- /etc
- /var/lib/mailman
jabber.dmz.mateu.be: jabber.dmz.mateu.be:
restic_backup_path:
- /etc
- /var/lib/prosody
voice1.dmz.mateu.be: voice1.dmz.mateu.be:
restic_backup_path:
- /etc
- /var/lib/mumble-server
masto1.dmz.mateu.be: masto1.dmz.mateu.be:
restic_backup_path:
- /srv
- /etc
- /var/lib/oolatoocs
garage1.dmz.mateu.be: garage1.dmz.mateu.be:
restic_backup_path:
- /etc
- /var/lib/private/garage
frederica.dmz.mateu.be: frederica.dmz.mateu.be:
restic_backup_path:
- /mnt/tank
restic_backup_excluded_path:
- /mnt/tank/s3/.minio.sys
- /mnt/tank/iocage
restic_backup_hour: 6
restic_backup_minute: 45
nsdservers: nsdservers:
hosts: hosts:
nsd-master1.ext.mateu.be: nsd-master1.ext.mateu.be:
master: true
dns1.dmz.mateu.be: dns1.dmz.mateu.be:
natted_ipv4: 82.66.135.228
garageservers: garageservers:
children: children:
@@ -103,69 +54,16 @@ nut_client:
webservers: webservers:
hosts: hosts:
bt.dmz.mateu.be: bt.dmz.mateu.be:
web_hostname:
- sonarr.mateu.be
- jackett.mateu.be
- bt.mateu.be
- btf.mateu.be
nginx_extra_mods:
- fancyindex
garage1.dmz.mateu.be: garage1.dmz.mateu.be:
web_hostname:
- garage.mateu.be
- mastodon-ndfr.garage.mateu.be
- medias.m.nintendojo.fr
- nextcloud-libertus.garage.mateu.be
- peertube-videos-ndfr.garage.mateu.be
- videos.p.nintendojo.fr
- peertube-playlists-ndfr.garage.mateu.be
- playlists.p.nintendojo.fr
- peertube-original-ndfr.garage.mateu.be
- original.p.nintendojo.fr
web1.dmz.mateu.be: web1.dmz.mateu.be:
web_hostname:
- fav.libertus.eu
- rss.libertus.eu
- o.libertus.eu
- blog.libertus.eu
- mail.libertus.eu
- perso.nintendojo.fr
- perso.libertus.eu
- r.mateu.be
web2.dmz.mateu.be: web2.dmz.mateu.be:
web_hostname:
- analyse.nintendojo.fr
- nintendojo.fr
- www.nintendojo.fr
- forum.nintendojo.fr
- nintendojofr.com
- www.nintendojofr.com
- forum.nintendojofr.com
web3.dmz.mateu.be: web3.dmz.mateu.be:
web_hostname:
- sebicomics.com
- www.sebicomics.com
masto1.dmz.mateu.be: masto1.dmz.mateu.be:
web_hostname:
- m.nintendojo.fr
jabber.dmz.mateu.be: jabber.dmz.mateu.be:
web_hostname:
- libertus.eu
- upload.libertus.eu
- xmpp.libertus.eu
voice3.dmz.mateu.be: voice3.dmz.mateu.be:
web_hostname:
- radio.nintendojo.fr
mail.dmz.mateu.be: mail.dmz.mateu.be:
web_hostname:
- imap.libertus.eu
- smtp.libertus.eu
munin.dmz.mateu.be: munin.dmz.mateu.be:
web_hostname:
- munin.mateu.be
pt1.dmz.mateu.be: pt1.dmz.mateu.be:
web_hostname:
- p.nintendojo.fr
peertubeservers: peertubeservers:
hosts: hosts:
@@ -177,11 +75,7 @@ peertuberunners:
phpservers: phpservers:
hosts: hosts:
web1.dmz.mateu.be: web[1:3].dmz.mateu.be:
php_modules: ['opcache', 'pgsql', 'mbstring', 'gd', 'intl', 'curl', 'gettext', 'imap', 'zip', 'apcu', 'imagick', 'bcmath', 'gmp']
php_memory_limit: "512M"
web[2:3].dmz.mateu.be:
php_modules: ['opcache', 'mysql', 'mbstring', 'gd', 'intl', 'xml', 'bcmath', 'curl', 'imagick']
mariadbservers: mariadbservers:
hosts: hosts: