Skip to content

Commit ac24a89

Browse files
committed
style(infra): strictly enforce YAML 1.2 true/false booleans and trim whitespace to appease CI linters
1 parent e225e79 commit ac24a89

4 files changed

Lines changed: 30 additions & 30 deletions

File tree

QuanuX-Infra/ansible/01-mesh-bootstrap.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
- name: Panopticon Genesis - Bootstrap NATS JetStream Mesh
33
hosts: panopticon_buffer
4-
become: yes
4+
become: true
55
tasks:
66
- name: Update apt cache and install dependencies
77
apt:
88
name:
99
- curl
1010
- unzip
1111
state: present
12-
update_cache: yes
12+
update_cache: true
1313

1414
- name: Download NATS Server
1515
get_url:
@@ -20,13 +20,13 @@
2020
unarchive:
2121
src: /tmp/nats-server.zip
2222
dest: /tmp
23-
remote_src: yes
23+
remote_src: true
2424

2525
- name: Install NATS Server Binary
2626
copy:
2727
src: /tmp/nats-server-v2.10.11-linux-amd64/nats-server
2828
dest: /usr/local/bin/nats-server
29-
remote_src: yes
29+
remote_src: true
3030
mode: '0755'
3131

3232
- name: Ensure NATS config directory exists
@@ -48,7 +48,7 @@
4848
# Bind exclusively to the internal VPC Network
4949
host: "{{ hostvars[inventory_hostname]['internal_ip'] | default('10.10.10.2') }}"
5050
port: 4222
51-
51+
5252
# Enable persistent storage JetStream
5353
jetstream {
5454
store_dir: /var/lib/nats/jetstream
@@ -77,10 +77,10 @@
7777

7878
- name: Reload SystemD to accept NATS
7979
systemd:
80-
daemon_reload: yes
80+
daemon_reload: true
8181

8282
- name: Enable and restart NATS Server
8383
systemd:
8484
name: nats-server
8585
state: restarted
86-
enabled: yes
86+
enabled: true

QuanuX-Infra/ansible/02-panopticon-observability.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
- name: Panopticon Genesis - Install Observability Stack (OpenSearch Ledger)
33
hosts: panopticon_ledger
4-
become: yes
4+
become: true
55
tasks:
66
- name: Increase vm.max_map_count for OpenSearch requirement
77
sysctl:
88
name: vm.max_map_count
99
value: '262144'
1010
state: present
11-
reload: yes
11+
reload: true
1212

1313
- name: Install dependencies for APT repositories
1414
apt:
@@ -17,7 +17,7 @@
1717
- gnupg
1818
- curl
1919
state: present
20-
update_cache: yes
20+
update_cache: true
2121

2222
- name: Add OpenSearch GPG key
2323
apt_key:
@@ -34,7 +34,7 @@
3434
name:
3535
- opensearch
3636
state: present
37-
update_cache: yes
37+
update_cache: true
3838
environment:
3939
OPENSEARCH_INITIAL_ADMIN_PASSWORD: "QuanuxMasterPassword123!"
4040

@@ -49,7 +49,7 @@
4949
path: /etc/opensearch/opensearch.yml
5050
regexp: '^#?discovery\.type:'
5151
line: "discovery.type: single-node"
52-
52+
5353
- name: Disable OpenSearch security plugin internally
5454
lineinfile:
5555
path: /etc/opensearch/opensearch.yml
@@ -59,12 +59,12 @@
5959
- name: Enable and restart OpenSearch service
6060
systemd:
6161
name: opensearch
62-
enabled: yes
62+
enabled: true
6363
state: restarted
6464

6565
- name: Panopticon Genesis - Install Observability Stack (ValKey Buffer & Python Shadow)
6666
hosts: panopticon_buffer
67-
become: yes
67+
become: true
6868
tasks:
6969
- name: Install dependencies for APT repositories
7070
apt:
@@ -73,14 +73,14 @@
7373
- gnupg
7474
- curl
7575
state: present
76-
update_cache: yes
76+
update_cache: true
7777

7878
- name: Install Native ValKey
7979
apt:
8080
name:
8181
- valkey-server
8282
state: present
83-
update_cache: yes
83+
update_cache: true
8484

8585
- name: Configure ValKey network bind
8686
lineinfile:
@@ -91,7 +91,7 @@
9191
- name: Enable and restart ValKey service
9292
systemd:
9393
name: valkey-server
94-
enabled: yes
94+
enabled: true
9595
state: restarted
9696

9797
- name: Install Python 3 VENV and PIP natively
@@ -100,7 +100,7 @@
100100
- python3-venv
101101
- python3-pip
102102
state: present
103-
update_cache: yes
103+
update_cache: true
104104

105105
- name: Ensure QuanuX base directory exists for Shadow Node
106106
file:
@@ -113,7 +113,7 @@
113113
args:
114114
creates: /opt/quanux/shadow_env/bin/activate
115115

116-
- name: Install Observability Python packages
116+
- name: Install Observability Python packages
117117
pip:
118118
name:
119119
- opensearch-py

QuanuX-Infra/ansible/03a-habitat-equip.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
- name: Operation Control Plane - Equip Edge Habitats
33
hosts: edge_nodes
4-
become: yes
4+
become: true
55

66
vars:
77
# Extract Panopticon IP dynamically from the Terraform inventory
@@ -10,7 +10,7 @@
1010
tasks:
1111
- name: Update APT cache
1212
apt:
13-
update_cache: yes
13+
update_cache: true
1414

1515
- name: Ensure /etc/quanux directory exists
1616
file:
@@ -50,7 +50,7 @@
5050
unarchive:
5151
src: /tmp/nats.c.tar.gz
5252
dest: /tmp
53-
remote_src: yes
53+
remote_src: true
5454

5555
- name: Compile and Install NATS C Client via CMake
5656
shell: |
@@ -72,7 +72,7 @@
7272
unarchive:
7373
src: https://github.com/duckdb/duckdb/releases/download/v0.10.0/libduckdb-linux-amd64.zip
7474
dest: /tmp/duckdb
75-
remote_src: yes
75+
remote_src: true
7676
args:
7777
creates: /tmp/duckdb/duckdb.h
7878

@@ -86,7 +86,7 @@
8686
copy:
8787
src: "/tmp/duckdb/{{ item }}"
8888
dest: "/usr/local/include/duckdb/{{ item }}"
89-
remote_src: yes
89+
remote_src: true
9090
with_items:
9191
- duckdb.h
9292
- duckdb.hpp
@@ -95,7 +95,7 @@
9595
copy:
9696
src: "/tmp/duckdb/libduckdb.so"
9797
dest: "/usr/local/lib/libduckdb.so"
98-
remote_src: yes
98+
remote_src: true
9999

100100
- name: Refresh dynamic linker cache (ldconfig)
101101
command: ldconfig

QuanuX-Infra/ansible/03b-nest-drop.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
- name: Operation Control Plane - Drop Sovereign Nests
33
hosts: edge_nodes
4-
become: yes
4+
become: true
55

66
vars:
77
quanux_src_dir: "/opt/quanux/src"
@@ -49,7 +49,7 @@
4949
copy:
5050
src: "{{ quanux_build_dir }}/QuanuX-Spreader/cpp/quanux_spreader"
5151
dest: "{{ quanux_install_dir }}/quanux_spreader"
52-
remote_src: yes
52+
remote_src: true
5353
mode: '0755'
5454

5555
- name: Create quanux-engine.service systemd file
@@ -67,7 +67,7 @@
6767
RestartSec=3
6868
LimitNOFILE=65535
6969
LimitCORE=infinity
70-
70+
7171
# The Nest STRICTLY binds to the pre-rendered OS Habitat soil
7272
# If this file is missing, the C++ binary intentionally crashes.
7373
EnvironmentFile=/etc/quanux/habitat.env
@@ -78,10 +78,10 @@
7878

7979
- name: Reload SystemD to ingest the Sovereign Engine service
8080
systemd:
81-
daemon_reload: yes
81+
daemon_reload: true
8282

8383
- name: Enable and start the Sovereign Engine
8484
systemd:
8585
name: quanux-engine
86-
enabled: yes
86+
enabled: true
8787
state: restarted

0 commit comments

Comments
 (0)