2022-02-22 18:10:18 +00:00
|
|
|
# This playbook goes through the process of setting up a simple FTP server on
|
|
|
|
# the target host.
|
|
|
|
---
|
|
|
|
- hosts: leftcoastlab
|
2022-04-04 05:21:33 +00:00
|
|
|
become: yes
|
2022-02-22 18:10:18 +00:00
|
|
|
tasks:
|
2022-04-04 05:21:33 +00:00
|
|
|
- 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}}"
|
|
|
|
|
|
|
|
|
|
|
|
|