fix(send): self-review fixes (FQCN, min_ansible_version str)

* tasks/main.yml: prefix all builtin modules with ansible.builtin
  (file, template) — silences ansible-lint fqcn[action-core] and
  matches the convention used by the other roles in this collection.

* meta/main.yml: change min_ansible_version from the float 2.14 to
  the string '2.14'. ansible-galaxy's schema requires a string here
  (ansible-lint schema[meta] complains otherwise — same fix I just
  applied to the opnform role).
This commit is contained in:
Simon Bärlocher 2026-05-26 15:06:58 +02:00
parent e1879e9686
commit 6ee7c2328b
No known key found for this signature in database
GPG key ID: 63DE20495932047A
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ galaxy_info:
description: Deploy a self-hosted Send (timvisee fork) instance with Redis via Docker Compose
license: MIT
min_ansible_version: 2.14
min_ansible_version: "2.14"
galaxy_tags:
- send

View file

@ -3,20 +3,20 @@
# tasks file for send
- name: Create docker compose directory
file:
ansible.builtin.file:
path: "{{ send_docker_compose_dir }}"
state: directory
mode: '0755'
- name: Create local upload directory
file:
ansible.builtin.file:
path: "{{ send_docker_volume_dir }}/uploads"
state: directory
mode: '0755'
when: send_storage_backend == "local"
- name: Create docker-compose file for send
template:
ansible.builtin.template:
src: docker-compose.yml.j2
dest: "{{ send_docker_compose_dir }}/docker-compose.yml"
mode: '0644'