29 lines
655 B
YAML
29 lines
655 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: Ensure Filebrowser Volume Exists
|
|
community.docker.docker_volume:
|
|
name: file-storage
|
|
state: present
|
|
|
|
- name: Setup Filebrowser Container
|
|
community.docker.docker_container:
|
|
name: filebrowser
|
|
image: filebrowser/filebrowser
|
|
restart_policy: always
|
|
recreate: yes
|
|
volumes:
|
|
- "file-storage:/srv"
|
|
ports:
|
|
- "{{FILEBROWSER_PORT}}:80"
|
|
|
|
|
|
|