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