18 lines
642 B
YAML
18 lines
642 B
YAML
---
|
|
- name: Ensure guest OS family is supported
|
|
ansible.builtin.assert:
|
|
that:
|
|
- ansible_os_family == "Debian"
|
|
fail_msg: "openapply_app currently supports Debian-family guests (Ubuntu 22.04/24.04)."
|
|
|
|
- name: Ensure required role variables are present
|
|
ansible.builtin.assert:
|
|
that:
|
|
- openapply_app_repo_url | length > 0
|
|
- openapply_app_repo_version | length > 0
|
|
- openapply_app_root | length > 0
|
|
- openapply_app_service_name | length > 0
|
|
- openapply_app_service_user | length > 0
|
|
- openapply_app_start_command | length > 0
|
|
fail_msg: "Required OpenApply role variables are missing."
|