Commit f3393cb2 authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

Add some clarifications

parent 67c329cc
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
# Playbooks

## Usage

**Important**: Always run playbooks from the `ansible/` directory. This ensures that `ansible.cfg` is correctly loaded and roles are found.

```bash
cd ansible
ansible-playbook playbooks/scenarios/full-deployment.yml
```

## 01-deploy-kind-cluster.yml

**Purpose**: Create and configure Kind cluster
+13 −0
Original line number Diff line number Diff line
@@ -71,3 +71,16 @@ docker ps | grep operator-platform
kind delete cluster --name operator-platform
ansible-playbook playbooks/01-deploy-kind-cluster.yml
```

### Role Not Found

```bash
[ERROR]: the role 'kind-cluster' was not found...
```

**Solution**: This usually happens when running playbooks from the wrong directory. Ensure you are in the `ansible/` directory so that `ansible.cfg` is loaded correctly.

```bash
cd ansible
ansible-playbook playbooks/scenarios/quick-undeployment.yml
```