summaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <montferrat@tuta.io> 2025-08-17 00:04:45 +0700
committerGravatar SayaAndy <montferrat@tuta.io> 2025-08-17 00:04:45 +0700
commit8ada0a94f09d5e6492235aca176b09f46b35859f (patch)
tree3b05ea38397ddea94039ca9e489024dea3013251
parent2da6a5f4a666da470d8c2170bb9246f0f5804da5 (diff)
downloadweb-8ada0a94f09d5e6492235aca176b09f46b35859f.tar.gz
web-8ada0a94f09d5e6492235aca176b09f46b35859f.zip
fix: split hosts in ansible inventory
-rw-r--r--deploy/inventory.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/deploy/inventory.yml b/deploy/inventory.yml
index 3c1220d..dde952e 100644
--- a/deploy/inventory.yml
+++ b/deploy/inventory.yml
@@ -2,14 +2,16 @@ all:
children:
prod:
hosts:
- pl.saya.today:
+ node_prod:
+ ansible_host: pl.saya.today
saya_today_web_name: sayana-web
saya_today_web_hostname: sayana-web
saya_today_web_ipv4_address: 172.16.0.18
stage:
hosts:
- pl.saya.today:
+ node_stage:
+ ansible_host: pl.saya.today
saya_today_web_name: sayana-demo
saya_today_web_hostname: sayana-demo
saya_today_web_ipv4_address: 172.16.0.17