HOSTNAME="{{ inventory_hostname }}"
MASTER_HOST_IP={{ hostvars[groups['airflow_master'][0]].ansible_host }}
REDIS_PASSWORD="{{ vault_redis_password }}"
POSTGRES_PASSWORD="{{ vault_postgres_password }}"
AIRFLOW_UID={{ airflow_uid }}
REDIS_HOST={{ hostvars[groups['airflow_master'][0]].ansible_host }}
REDIS_PORT=52909
SERVER_IDENTITY=ytdlp-ops-service-worker-{{ inventory_hostname }}
SERVICE_ROLE=worker
ENVOY_PORT=9080
ENVOY_ADMIN_PORT=9901
YTDLP_WORKERS=4
YTDLP_BASE_PORT=9090
CAMOUFOX_PROXIES={{ worker_proxies | join(',') }}
VNC_PASSWORD={{ vault_vnc_password }}
CAMOUFOX_BASE_VNC_PORT=5901
CAMOUFOX_PORT=12345
ACCOUNT_ACTIVE_DURATION_MIN=7
ACCOUNT_COOLDOWN_DURATION_MIN=30
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD={{ vault_minio_root_password }}
AIRFLOW_GID=0

# S3 Logging Configuration
AIRFLOW_VAR_S3_LOG_BUCKET=your-s3-bucket-name
AIRFLOW_VAR_S3_LOG_FOLDER=airflow-logs/workers/{{ inventory_hostname }}
AWS_ACCESS_KEY_ID={{ vault_aws_access_key_id | default('') }}
AWS_SECRET_ACCESS_KEY={{ vault_aws_secret_access_key | default('') }}
AWS_DEFAULT_REGION={{ aws_region | default('us-east-1') }}
