diff --git a/DRP - Server Totalausfall mit Nextcloud.md b/DRP - Server Totalausfall mit Nextcloud.md index 03299ea5..59b135e3 100644 --- a/DRP - Server Totalausfall mit Nextcloud.md +++ b/DRP - Server Totalausfall mit Nextcloud.md @@ -24,15 +24,15 @@ Beim [[Hosting Provider]] einen neuen Server bereitstellen. Dabei sicherstellen, ### Server installieren -Den Befehl `aplaybook -i inventories/setup setup.yml -l hyperion -u root` ausführen. Nach Bedarf manuelle Konfigurationen vornehmen. +Den Befehl `task play -i inventories/mint_sytem plays/setup.yml -l hyperion -u root` ausführen. Nach Bedarf manuelle Konfigurationen vornehmen. ### Nextcloud installieren -Den Befehl `aplaybook -i inventories/nextcloud nextcloud.yml -l hyperion` ausführen. +Den Befehl `task play -i inventories/mint_sytem plays/nextcloud.yml -l hyperion_nextcloud` ausführen. ### Proxy installieren -Den Befehl `aplaybook -i inventories/proxy proxy.yml -l hyperion` ausführen. +Den Befehl `task play -i inventories/mint_sytem plays/nginx.yml -l hyperion` ausführen. ### Backup wiederherstellen diff --git a/DRP - Server Totalausfall mit Odoo.md b/DRP - Server Totalausfall mit Odoo.md index e2f68684..8e7a8ba9 100644 --- a/DRP - Server Totalausfall mit Odoo.md +++ b/DRP - Server Totalausfall mit Odoo.md @@ -32,11 +32,11 @@ Im allen `hosts.yml`-Dateien den Host mit `erp.janikv.dev` ersetzen. ### Server installieren -Den Befehl `aplaybook -i inventories/setup plays/setup.yml -l helios -u root` ausführen. +Den Befehl `task play -i inventories/mint_sytem plays/setup.yml -l helios -u root` ausführen. ### Odoo installieren -Den Befehl `aplaybook -i inventories/odoo plays/odoo.yml -l helios` ausführen. +Den Befehl `task play -i inventories/mint_sytem plays/odoo.yml -l helios_odoo` ausführen. ### Proxy konfigurieren und installieren @@ -53,7 +53,7 @@ nginx_proxies: proxy_read_timeout 300; ``` -Den Befehl `aplaybook -i inventories/proxy proxy.yml -l helios` ausführen. +Den Befehl `task play -i inventories/mint_sytem plays/nginx.yml -l helios` ausführen. ### Backup wiederherstellen diff --git a/Exoscale - Extend disk space.md b/Exoscale - Extend disk space.md index 6197d274..c5e01965 100644 --- a/Exoscale - Extend disk space.md +++ b/Exoscale - Extend disk space.md @@ -51,5 +51,5 @@ fstab_mounts: - Mount the fstab: ```bash -aplaybook -i inventories/setup/ plays/setup.yml -t fstab -l $ALIAS +task play -i inventories/mint_sytem plays/setup.yml -t fstab -l $ALIAS ``` diff --git a/Migrate docker postgres databases with pg_dump.md b/Migrate docker postgres databases with pg_dump.md index 691c1984..df75e452 100644 --- a/Migrate docker postgres databases with pg_dump.md +++ b/Migrate docker postgres databases with pg_dump.md @@ -42,7 +42,7 @@ postgres_image: postgres:12-alpine Deploy database container with version 12. ```bash -aplaybook -i inventories/odoo odoo.yml -l apollo -t postgres +task play -i inventories/mint_sytem plays/odoo.yml -l apollo_odoo -t postgres ``` Restore the data. @@ -91,7 +91,7 @@ postgres_image: postgres:12-alpine Deploy database container with the new version. ```bash -aplaybook -i inventories/setup play-all.yml -l $HOST -t postgres --skip-tags depends +task play -i inventories/mint_sytem plays/all.yml -l $HOST -t postgres --skip-tags depends ``` Restore the data. diff --git a/Nextcloud Upgrade.md b/Nextcloud Upgrade.md index b009e93a..c5ae1478 100644 --- a/Nextcloud Upgrade.md +++ b/Nextcloud Upgrade.md @@ -31,7 +31,7 @@ nextcloud_image: nextcloud:32-apache - Deploy the new container ```bash -task play -i inventories/nextcloud plays/nextcloud.yml -l eos +task play -i inventories/mint_sytem plays/nextcloud.yml -l eos_nextcloud ``` - Abort when Ansible on "Info about upgrades" diff --git a/Prozesse Infrastruktur - Linux Server Patching.md b/Prozesse Infrastruktur - Linux Server Patching.md index 44296a3b..c97c4112 100644 --- a/Prozesse Infrastruktur - Linux Server Patching.md +++ b/Prozesse Infrastruktur - Linux Server Patching.md @@ -26,7 +26,7 @@ Arbeitsschritte: - Run the Ansible update command for a limited selection of hosts. Select hosts non-customer servers for the first run. ```bash -aplaybook -i inventories/setup plays/setup.yml -l kronos,atlas,hades,hermes,cratos -t update +task play -i inventories/mint_sytem plays/setup.yml -l kronos,atlas,hades,hermes,cratos -t update ``` - Check if the servers and services recover after a reboot. @@ -34,7 +34,7 @@ aplaybook -i inventories/setup plays/setup.yml -l kronos,atlas,hades,hermes,crat - Run the same command for for Mint System servers. ```bash -aplaybook -i inventories/setup plays/setup.yml -l apollo,zeus,hyperion,nyx -t update +task play -i inventories/mint_sytem plays/setup.yml -l apollo,zeus,hyperion,nyx -t update ``` - If the the patching is successful, add customer servers. diff --git a/Prozesse Infrastruktur - OS Migration.md b/Prozesse Infrastruktur - OS Migration.md index 9f846c1b..4a9f39a7 100644 --- a/Prozesse Infrastruktur - OS Migration.md +++ b/Prozesse Infrastruktur - OS Migration.md @@ -46,7 +46,7 @@ Nach einem Rebuild rebuild, wird der originale SSH-Public-Key für den Root-Benu - Server mit Ansible installieren: ```bash -ansible-playbook -i inventories/setup plays/setup.yml -l $ALIAS -u root +task play -i inventories/mint_sytem plays/setup.yml -l $ALIAS -u root ``` - Anschliessend den Server neustarten. @@ -58,15 +58,15 @@ ssh $ALIAS.mint-system.com sudo reboot - Alle Container mit Ansible neu deployen: ```bash -ansible-playbook -i inventories/setup plays/all.yml -l $ALIAS -ansible-playbook -i inventories/nextcloud plays/nextcloud.yml -l $ALIAS -ansible-playbook -i inventories/odoo plays/odoo.yml -l $ALIAS +task play -i inventories/mint_sytem plays/all.yml l $ALIAS +task play -i inventories/mint_sytem plays/odoo.yml -l ${ALIAS}_odoo +task play -i inventories/mint_sytem plays/nextcloud.yml -l ${ALIAS}_nextcloud ``` - Und am Ende den Nginx starten ```bash -ansible-playbook -i inventories/nextcloud -i inventories/odoo -i inventories/setup plays/nginx.yml -l $ALIAS --skip-tags check +task play -i inventories/mint_sytem plays/nginx.yml -l $ALIAS --skip-tags check ``` ### Troubleshooting diff --git a/Prozesse Infrastruktur - Server entfernen.md b/Prozesse Infrastruktur - Server entfernen.md index 025efd2b..ae73a32e 100644 --- a/Prozesse Infrastruktur - Server entfernen.md +++ b/Prozesse Infrastruktur - Server entfernen.md @@ -12,7 +12,7 @@ Wenn der Server bei einem Drittanbieter gehostet ist, müssen Sie als erstes die Arbeitsschritte: -- Entfernen Sie die Benutzer auf dem Server `aplaybook -i inventories/setup plays/clean.yml -t iam -l $ALIAS` +- Entfernen Sie die Benutzer auf dem Server `task play -i inventories/mint_sytem plays/cleanup.yml -t iam -l $ALIAS` ## Server aus Ansible Inventar entfernen diff --git a/Prozesse Nextcloud - Upgrade.md b/Prozesse Nextcloud - Upgrade.md index b35db71f..a414fb90 100644 --- a/Prozesse Nextcloud - Upgrade.md +++ b/Prozesse Nextcloud - Upgrade.md @@ -10,11 +10,11 @@ Arbeitsschritte: - In Ansible-Inventory die `nextcloud_image` Variable anzeigen, - Nächste höhrere Major-Version eingeben, -- Deployment mit Ansible ausführen: `task play -i inventories/nextcloud plays/nextcloud.yml -l $ALIAS`, +- Deployment mit Ansible ausführen: `task play -i inventories/mint_sytem plays/nextcloud.yml -l ${ALIAS}_nextcloud`, - Sobald neuer Container gestartet wird, das Ansible-Depoloyment mit ctrl+c und A abbrechen, Nextcloud führt beim Start bei einer neueren Version die etnsprechenden Upgrade-Skripte aus. - Container-Log prüfen. -- Ansible-Deployment erneut ausführen: `task play -i inventories/nextcloud plays/nextcloud.yml -l $ALIAS`. +- Ansible-Deployment erneut ausführen: `task play -i inventories/mint_sytem plays/nextcloud.yml-l ${ALIAS}_nextcloud`. - Browser-Zugriff und ggf. Synchronisation mit Desktop-Client prüfen. diff --git a/Prozesse Odoo - Revision.md b/Prozesse Odoo - Revision.md index 870e6d85..988d2a65 100644 --- a/Prozesse Odoo - Revision.md +++ b/Prozesse Odoo - Revision.md @@ -60,7 +60,7 @@ Mint System Team ``` - In Ansible-Inventar die Informationen zur Odoo Revision aktualisieren -- Den Odoo-Container neu deployment `ansible-playbook -i inventories/odoo plays/odoo.yml -l $ALIAS` +- Den Odoo-Container neu deployment `task play -i inventories/mint_system plays/odoo.yml -l ${ALIAS}_odoo` - Nach erfolgreichem Deployment die Aktion *Apps > Auto-Upgrade Modules* ausführen ::: warning