ansible: setup db hosts first
This commit is contained in:
parent
b74deff59f
commit
ec103eb5a9
|
@ -9,6 +9,13 @@
|
||||||
- local_action: command ./versioncheck.py
|
- local_action: command ./versioncheck.py
|
||||||
changed_when: false
|
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
|
- name: Configure Waku Nodes
|
||||||
hosts: node
|
hosts: node
|
||||||
roles:
|
roles:
|
||||||
|
@ -17,10 +24,3 @@
|
||||||
- { role: certbot, tags: certbot }
|
- { role: certbot, tags: certbot }
|
||||||
- { role: nim-waku, tags: nim-waku }
|
- { role: nim-waku, tags: nim-waku }
|
||||||
- { role: nginx, tags: nginx }
|
- { 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 }
|
|
||||||
|
|
Loading…
Reference in New Issue