|
| 1 | +--- |
| 2 | +- name: Aleph Protocol - Core VPC Autobahn Conditioning |
| 3 | + hosts: panopticon_forge, panopticon_ledger, panopticon_vault, panopticon_oracle, panopticon_nexus |
| 4 | + become: true |
| 5 | + tasks: |
| 6 | + - name: Update APT cache |
| 7 | + apt: |
| 8 | + update_cache: true |
| 9 | + |
| 10 | + - name: VPC Autobahn - Maximize TCP Receive Window (tcp_rmem) |
| 11 | + sysctl: |
| 12 | + name: net.ipv4.tcp_rmem |
| 13 | + value: '4096 87380 16777216' |
| 14 | + state: present |
| 15 | + reload: true |
| 16 | + |
| 17 | + - name: VPC Autobahn - Maximize TCP Send Window (tcp_wmem) |
| 18 | + sysctl: |
| 19 | + name: net.ipv4.tcp_wmem |
| 20 | + value: '4096 65536 16777216' |
| 21 | + state: present |
| 22 | + reload: true |
| 23 | + |
| 24 | + - name: Ensure UFW is installed |
| 25 | + apt: |
| 26 | + name: ufw |
| 27 | + state: present |
| 28 | + |
| 29 | + - name: Ensure UFW is active with default drop inbound |
| 30 | + ufw: |
| 31 | + state: enabled |
| 32 | + default: deny |
| 33 | + direction: incoming |
| 34 | + |
| 35 | + - name: Allow native SSH ingress |
| 36 | + ufw: |
| 37 | + rule: allow |
| 38 | + port: '22' |
| 39 | + proto: tcp |
| 40 | + |
| 41 | +- name: Aleph Protocol - Oracle Fencing & Toolchain (panopticon-oracle) |
| 42 | + hosts: panopticon_oracle |
| 43 | + become: true |
| 44 | + tasks: |
| 45 | + - name: Compile Toolchain - Prepare Bare Metal for Cython (-O3 / .pyx) |
| 46 | + apt: |
| 47 | + name: |
| 48 | + - build-essential |
| 49 | + - python3-dev |
| 50 | + state: present |
| 51 | + |
| 52 | + - name: Strict Fencing - Accept API traffic exclusively from Nexus IP |
| 53 | + ufw: |
| 54 | + rule: allow |
| 55 | + proto: tcp |
| 56 | + port: '5432' # DuckDB-Oculus emulated pg-port |
| 57 | + src: "{{ hostvars[groups['panopticon_nexus'][0]]['internal_ip'] }}" |
| 58 | + |
| 59 | +- name: Aleph Protocol - Vault Fencing (panopticon-vault) |
| 60 | + hosts: panopticon_vault |
| 61 | + become: true |
| 62 | + tasks: |
| 63 | + - name: Strict Fencing - Accept S3 writes exclusively from Forge IP |
| 64 | + ufw: |
| 65 | + rule: allow |
| 66 | + proto: tcp |
| 67 | + port: '9000' # MinIO S3 API port |
| 68 | + src: "{{ hostvars[groups['panopticon_forge'][0]]['internal_ip'] }}" |
| 69 | + |
| 70 | + - name: Strict Fencing - Accept S3 reads exclusively from Oracle IP |
| 71 | + ufw: |
| 72 | + rule: allow |
| 73 | + proto: tcp |
| 74 | + port: '9000' # MinIO S3 API port |
| 75 | + src: "{{ hostvars[groups['panopticon_oracle'][0]]['internal_ip'] }}" |
| 76 | + |
| 77 | +- name: Aleph Protocol - MCP Translation Layer Conditioning (panopticon-nexus) |
| 78 | + hosts: panopticon_nexus |
| 79 | + become: true |
| 80 | + tasks: |
| 81 | + - name: Compile Toolchain - Prepare Bare Metal for Cython (-O3 / .pyx) |
| 82 | + apt: |
| 83 | + name: |
| 84 | + - build-essential |
| 85 | + - python3-dev |
| 86 | + state: present |
0 commit comments