rice/docker-host/setup/tasks/file-server.yml

29 lines
654 B
YAML

# This playbook goes through the process of setting up a simple FTP server on
# the target host.
---
- hosts: leftcoastlab
become: yes
tasks:
- name: Include Vars
include_vars:
dir: ../vars
- name: Include FQDN
include_vars:
dir: ../defaults
- name: Setup Filebrowser Container
community.docker.docker_container:
name: filestash
image: filebrowser/filebrowser
restart_policy: always
recreate: yes
user: "{{FILES_UID}}:{{FILES_GID}}"
volumes:
- "{{FILES_HOME}}:/srv"
ports:
- "{{FILEBROWSER_PORT}}:{{FILEBROWSER_PORT}}"