summaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <145215889+SayaAndy@users.noreply.github.com> 2025-08-17 00:08:50 +0700
committerGravatar GitHub <noreply@github.com> 2025-08-17 00:08:50 +0700
commit188d24d6cb7a1d753898b340359e3fcfaf426433 (patch)
tree3b05ea38397ddea94039ca9e489024dea3013251
parent8422d7b01b290dece0c8aaf0f5b68cc69fca774d (diff)
parent8ada0a94f09d5e6492235aca176b09f46b35859f (diff)
downloadweb-0.5.10.1.tar.gz
web-0.5.10.1.zip
v0.5.10.1v0.5.10.1
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