23 lines
476 B
YAML
23 lines
476 B
YAML
|
# This playbook goes through the process of setting up a simple FTP server on
|
||
|
# the target host.
|
||
|
---
|
||
|
- hosts: alpha
|
||
|
become: yes
|
||
|
vars:
|
||
|
MOUNTPOINT: /mnt/fam-files
|
||
|
tasks:
|
||
|
- name: Setup Filebrowser Container
|
||
|
community.docker.docker_container:
|
||
|
name: filebrowser
|
||
|
image: filebrowser/filebrowser
|
||
|
restart_policy: always
|
||
|
volumes:
|
||
|
- "{{MOUNTPOINT}}/data:/srv"
|
||
|
ports:
|
||
|
- "8000:80"
|
||
|
user: "0:0"
|
||
|
|
||
|
|
||
|
|
||
|
|