ansible/main: run DB setup before node setup
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
f116eef7ce
commit
4ef143ed20
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue