2023-09-18 10:23:13 +00:00
|
|
|
---
|
|
|
|
- name: Verify Ansible versions
|
|
|
|
hosts: all
|
|
|
|
tags: always
|
|
|
|
become: false
|
|
|
|
run_once: true
|
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
2024-06-13 15:17:56 +00:00
|
|
|
- local_action: command ./roles.py --check
|
2023-09-18 10:23:13 +00:00
|
|
|
changed_when: false
|
|
|
|
|
2024-03-18 19:06:16 +00:00
|
|
|
- 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 }
|
|
|
|
|
2023-10-14 09:46:21 +00:00
|
|
|
- name: Configure Waku Bootstrap and Storage Nodes
|
2024-02-29 12:35:47 +00:00
|
|
|
serial: '{{ serial|default(1) }}'
|
2023-10-14 09:46:21 +00:00
|
|
|
hosts:
|
|
|
|
- boot
|
|
|
|
- store
|
2023-09-08 13:48:13 +00:00
|
|
|
roles:
|
2024-10-29 11:11:22 +00:00
|
|
|
- { role: infra-role-open-ports, tags: open-ports }
|
|
|
|
- { role: infra-role-swap-file, tags: swap-file }
|
|
|
|
- { role: infra-role-certbot, tags: certbot }
|
|
|
|
- { role: infra-role-nim-waku, tags: nim-waku }
|
|
|
|
- { role: infra-role-nim-waku-sonda, tags: nim-waku-sonda, when: nim_waku_sonda_enabled }
|
|
|
|
- { role: infra-role-nginx, tags: nginx }
|