Loading docs/playbooks.md +23 −2 Original line number Diff line number Diff line Loading @@ -9,6 +9,21 @@ cd ansible ansible-playbook playbooks/scenarios/full-deployment.yml ``` ## Handling Secrets For sensitive information like passwords or tokens, avoid committing them to the repository. Instead, create a `secrets.yml` file in the `ansible/` directory (this file is git-ignored by default). 1. Create `ansible/secrets.yml`: ```yaml lite2edge_registry_username: "your.username" lite2edge_registry_password: "your-token-or-password" ``` 2. Run the playbook passing the secrets file: ```bash ansible-playbook playbooks/scenarios/full-deployment.yml -e @secrets.yml ``` ## 01-deploy-kind-cluster.yml **Purpose**: Create and configure Kind cluster Loading @@ -24,12 +39,18 @@ ansible-playbook playbooks/scenarios/full-deployment.yml - Config: `../automation/1-kind-cluster/kind-config.yaml` - Setup script: `../automation/1-kind-cluster/setup-env.sh` ## 02-install-dependencies.yml ## install-prometheus.yml **Purpose**: Install cluster dependencies (Prometheus, NFD) **Purpose**: Install Prometheus Stack **Tags**: - `prometheus`: Install Prometheus stack ## install-node-feature-discovery.yml **Purpose**: Install Node Feature Discovery **Tags**: - `nfd`: Install Node Feature Discovery ## 02-deploy-harbor.yml Loading Loading
docs/playbooks.md +23 −2 Original line number Diff line number Diff line Loading @@ -9,6 +9,21 @@ cd ansible ansible-playbook playbooks/scenarios/full-deployment.yml ``` ## Handling Secrets For sensitive information like passwords or tokens, avoid committing them to the repository. Instead, create a `secrets.yml` file in the `ansible/` directory (this file is git-ignored by default). 1. Create `ansible/secrets.yml`: ```yaml lite2edge_registry_username: "your.username" lite2edge_registry_password: "your-token-or-password" ``` 2. Run the playbook passing the secrets file: ```bash ansible-playbook playbooks/scenarios/full-deployment.yml -e @secrets.yml ``` ## 01-deploy-kind-cluster.yml **Purpose**: Create and configure Kind cluster Loading @@ -24,12 +39,18 @@ ansible-playbook playbooks/scenarios/full-deployment.yml - Config: `../automation/1-kind-cluster/kind-config.yaml` - Setup script: `../automation/1-kind-cluster/setup-env.sh` ## 02-install-dependencies.yml ## install-prometheus.yml **Purpose**: Install cluster dependencies (Prometheus, NFD) **Purpose**: Install Prometheus Stack **Tags**: - `prometheus`: Install Prometheus stack ## install-node-feature-discovery.yml **Purpose**: Install Node Feature Discovery **Tags**: - `nfd`: Install Node Feature Discovery ## 02-deploy-harbor.yml Loading