diff --git a/ansible/main.yml b/ansible/main.yml index 5de6cbb..150aa6d 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -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 }