Files
chittick_projects/sophos-xgs-ansible/roles/sophos_common/vars/main.yml
Jake Kasper 4f1e8d3add Claude 1
2025-12-09 09:33:48 -06:00

31 lines
965 B
YAML

---
# ============================================================================
# Sophos Common Role - Internal Variables
# ============================================================================
# These variables are internal to the role and should not be overridden.
# ============================================================================
# API endpoint paths (Sophos XGS XML API)
sophos_api_base_path: "/webconsole/APIController"
# XML API request wrapper template
sophos_api_request_template: |
<Request>
<Login>
<Username>{{ sophos_api_username }}</Username>
<Password>{{ sophos_api_password }}</Password>
</Login>
{{ api_request_body }}
</Request>
# Supported firmware versions (for validation)
sophos_supported_firmware_versions:
- "19.0"
- "19.5"
- "20.0"
# Default HTTP headers for API requests
sophos_api_default_headers:
Content-Type: "application/x-www-form-urlencoded"
Accept: "application/xml"