WIP: feat(sharkey): add ansible role for deployment

This commit is contained in:
2025-06-27 23:25:43 +02:00
parent cce1ed58d4
commit 4cef4474b5
15 changed files with 160 additions and 0 deletions

View File

@ -0,0 +1,14 @@
---
- name: Ensure 'sharkey_state' is valid
ansible.builtin.fail:
msg: >-2
Unsupported sharkey_state '{{ sharkey_state }}'.
Supported values are {{ sharkey_states | join(', ') }}
when: sharkey_state not in sharkey_states
- name: Ensure 'sharkey_deployment_method' is valid
ansible.builtin.fail:
msg: >-2
Unsupported sharkey_deployment_method '{{ sharkey_deployment_method }}.
Supported values are {{ sharkey_deployment_methods | join(', ') }}
when: sharkey_deployment_method not in sharkey_deployment_methods