diff options
| author | 2025-08-03 19:35:52 +0700 | |
|---|---|---|
| committer | 2025-08-03 19:35:52 +0700 | |
| commit | 574be457b233b8bf322a3b49014559445373d419 (patch) | |
| tree | c413b39afa67704a2c2b33e210f4504312f1307b /deploy | |
| parent | 8bf2bb86f1be578dec6bc44df36b47964abf5bfb (diff) | |
| download | web-574be457b233b8bf322a3b49014559445373d419.tar.gz web-574be457b233b8bf322a3b49014559445373d419.zip | |
feat(ci): update all github actions to recent ones
refactor(ansible): make 'all' supergroup
fix(ansible): define hosts parameter in playbook
Diffstat (limited to 'deploy')
| -rw-r--r-- | deploy/inventory.yml | 30 | ||||
| -rw-r--r-- | deploy/playbook.yml | 1 |
2 files changed, 17 insertions, 14 deletions
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: |