ansible/main: run DB setup before node setup

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-03-18 20:06:16 +01:00
parent f116eef7ce
commit 4ef143ed20
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 8 additions and 8 deletions

View File

@ -9,6 +9,14 @@
- local_action: command ./versioncheck.py
changed_when: false
- name: Configure Waku Storage DB Nodes
serial: '{{ serial|default(1) }}'
hosts: store-db
roles:
- { role: infra-role-open-ports, tags: open-ports }
- { role: infra-role-swap-file, tags: swap-file }
- { role: infra-role-postgres-ha, tags: postgres-ha }
- name: Configure Waku Bootstrap and Storage Nodes
serial: '{{ serial|default(1) }}'
hosts:
@ -20,11 +28,3 @@
- { role: infra-role-certbot, tags: certbot }
- { role: infra-role-nim-waku, tags: nim-waku }
- { role: infra-role-nginx, tags: nginx }
- name: Configure Waku Storage DB Nodes
serial: '{{ serial|default(1) }}'
hosts: store-db
roles:
- { role: infra-role-open-ports, tags: open-ports }
- { role: infra-role-swap-file, tags: swap-file }
- { role: infra-role-postgres-ha, tags: postgres-ha }