mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 12:17:13 +00:00
Move installation.md and rename administration.md to deploy.md under docs/administration/, delete docs/guides/, and add a scope-only README.md per the docs-README rules. Update README.md, SUPPORT.md, and scripts/tests/environment/README.md cross-links. Refresh roles/web-app-decidim/README.md to match the current OIDC patch set (decidim-core omniauth.rb + omniauth_helper.rb only, no secrets.yml on Rails 7.2, ENV-prefixed credential names).
1.4 KiB
1.4 KiB
Deploy Guide 🚀
Use this guide to create inventories, run a full deploy, and redeploy an existing environment with infinito commands only.
Full Deploy 📦
Create or refresh the inventory first, then deploy against the generated inventory file.
Create or Refresh the Inventory 📝
infinito create inventory /etc/infinito.nexus/inventories/prod \
--inventory-file /etc/infinito.nexus/inventories/prod/devices.yml \
--host localhost \
--ssl-disabled \
--vars-file inventories/dev.yml \
--include 'web-app-nextcloud,web-app-keycloak'
Run the Deploy 🛠️
infinito deploy dedicated /etc/infinito.nexus/inventories/prod/devices.yml \
--password-file /etc/infinito.nexus/inventories/prod/.password \
--log /etc/infinito.nexus/logs \
--diff \
-vv
Redeploy 🔁
When you need to redeploy after changes, repeat the same two infinito commands:
- Re-run
infinito create inventory ...to refresh the inventory file and included app list. - Re-run
infinito deploy dedicated ...against the same inventory file.
Inventory Notes 📒
- Keep one inventory directory per environment.
- Store the password file next to the inventory file.
- Update
--includewhenever the target app set changes. - Replace
inventories/dev.ymlwith the matching vars file for your environment when you add one.
For CLI installation prerequisites, see the Installation Guide.