From ec103eb5a923e826d43b953848c121c5bca4f074 Mon Sep 17 00:00:00 2001 From: Anton Iakimov Date: Fri, 8 Mar 2024 16:47:50 +0100 Subject: [PATCH] ansible: setup db hosts first --- ansible/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ansible/main.yml b/ansible/main.yml index 868c504..d9bd8cb 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -9,6 +9,13 @@ - local_action: command ./versioncheck.py changed_when: false +- name: Configure Waku Storage DB Nodes + hosts: node-db + roles: + - { role: open-ports, tags: open-ports } + - { role: swap-file, tags: swap-file } + - { role: infra-role-postgres-ha, tags: postgres-ha } + - name: Configure Waku Nodes hosts: node roles: @@ -17,10 +24,3 @@ - { role: certbot, tags: certbot } - { role: nim-waku, tags: nim-waku } - { role: nginx, tags: nginx } - -- name: Configure Waku Storage DB Nodes - hosts: node-db - roles: - - { role: open-ports, tags: open-ports } - - { role: swap-file, tags: swap-file } - - { role: infra-role-postgres-ha, tags: postgres-ha }