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:
parent
de947dd8a4
commit
9d1a5d1924
2 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ galaxy_info:
|
||||||
description: Deploy a self-hosted Send (timvisee fork) instance with Redis via Docker Compose
|
description: Deploy a self-hosted Send (timvisee fork) instance with Redis via Docker Compose
|
||||||
license: MIT
|
license: MIT
|
||||||
|
|
||||||
min_ansible_version: 2.14
|
min_ansible_version: "2.14"
|
||||||
|
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- send
|
- send
|
||||||
|
|
|
||||||
|
|
@ -3,20 +3,20 @@
|
||||||
# tasks file for send
|
# tasks file for send
|
||||||
|
|
||||||
- name: Create docker compose directory
|
- name: Create docker compose directory
|
||||||
file:
|
ansible.builtin.file:
|
||||||
path: "{{ send_docker_compose_dir }}"
|
path: "{{ send_docker_compose_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- name: Create local upload directory
|
- name: Create local upload directory
|
||||||
file:
|
ansible.builtin.file:
|
||||||
path: "{{ send_docker_volume_dir }}/uploads"
|
path: "{{ send_docker_volume_dir }}/uploads"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
when: send_storage_backend == "local"
|
when: send_storage_backend == "local"
|
||||||
|
|
||||||
- name: Create docker-compose file for send
|
- name: Create docker-compose file for send
|
||||||
template:
|
ansible.builtin.template:
|
||||||
src: docker-compose.yml.j2
|
src: docker-compose.yml.j2
|
||||||
dest: "{{ send_docker_compose_dir }}/docker-compose.yml"
|
dest: "{{ send_docker_compose_dir }}/docker-compose.yml"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue