From 574be457b233b8bf322a3b49014559445373d419 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Sun, 3 Aug 2025 19:35:52 +0700 Subject: feat(ci): update all github actions to recent ones refactor(ansible): make 'all' supergroup fix(ansible): define hosts parameter in playbook --- deploy/inventory.yml | 30 ++++++++++++++++-------------- deploy/playbook.yml | 1 + 2 files changed, 17 insertions(+), 14 deletions(-) (limited to 'deploy') diff --git a/deploy/inventory.yml b/deploy/inventory.yml index d3c325f..5c88365 100644 --- a/deploy/inventory.yml +++ b/deploy/inventory.yml @@ -1,15 +1,17 @@ -prod: - hosts: - pl.saya.today: - saya_today_web: - name: sayana-web - hostname: sayana-web - ipv4_address: 172.16.0.18 +all: + children: + prod: + hosts: + pl.saya.today: + saya_today_web: + name: sayana-web + hostname: sayana-web + ipv4_address: 172.16.0.18 -stage: - hosts: - pl.saya.today: - saya_today_web: - name: sayana-demo - hostname: sayana-demo - ipv4_address: 172.16.0.17 + stage: + hosts: + pl.saya.today: + saya_today_web: + name: sayana-demo + hostname: sayana-demo + ipv4_address: 172.16.0.17 diff --git a/deploy/playbook.yml b/deploy/playbook.yml index 571ed2b..c126f23 100644 --- a/deploy/playbook.yml +++ b/deploy/playbook.yml @@ -1,5 +1,6 @@ --- - name: Deploy saya-today-web Docker Container + hosts: all remote_user: svc_github tasks: -- cgit v1.3.1+13