Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
ansible-toolbox
.ombi
--tags install-ombi
/opt/ombi
--tags install-resilio
.resilio
--tags install-resilio
/opt/resilio
glances
.--tags install-nextcloud
.nextcloud
--tags install-nextcloud
/opt/nextcloud
lidarr
--tags install-lidarr
/opt/lidarr
emby
--tags install-emby
/opt/emby
nzbhydra2
--tags install-nzbhydra2
/opt/nzbhydra2
docker-ce v17.09.0
.gitignore
to repo.
git pull
will no longer have conflicts with logs, retry files, etc.keep_local_copy
option in settings.yml
to keep or remove local backup (cloudbox.tar
).
use_rclone
/use_rsync
is false
and keep_local_copy
is set to true
, then backup will be made to local file only.keep_local_copy
is set to true
and a local backup file (cloudbox.tar
) exists, then that local backup file will be used for the restore task (no rclone / resync download of a remote cloudbox.tar
file will occur).unionfs.service
file to added 30 second wait to start to UnionFS.
/usr/bin/rclone
(as documented here.
/opt/rclone/
folder (and the symlinks within it).--tags install-zsh
~/.zshrc
netaddr
python module for Ansible's ipv4
filter.--tags install-traktarr
/opt/traktarr
arrpush.py
(for ruTorrent autodl-irssi)arrpush.sh
(the previous script) to arrpush.legacy.sh
.dnspython
python module for Ansible's dig
lookup.--tags update-scripts
.0.7.1
.--tags install-plex_dupefinder
/opt/plex_dupefinder
linuxserver/ombi
image (as it now installs v3).radarr4k
--tags install-radarr4k
/opt/radarr4k/
7879
./mnt/
/mnt/unionfs/Media/Movies/Movies4K/
/mnt/unionfs/Media/Movies4K/
heimdall
--tags install-heimdall
/opt/heimdall
thelounge
--tags install-thelounge
/opt/thelounge
cloudflare_api_token
to settings.yml
.plexbox
, feederbox
, or cloudbox
.
settings.yml
to match the one used for the Cloudflare account.sudo
group to NOPASSWD
latest
for rclone version in settings.yml
to always install the latest version.
1.40
).znc
--tags install-znc
/opt/znc
cloudflared.py
as this is not needed anymore.quassel
--tags install-quassel
/opt/quassel
rclone.conf
location: ~/.config/rclone/rclone.conf
.cloudbox.tar
on Rclone remotes (initially submitted by RXWatcher)./opt/systemd-backup
(vs /opt/systemd
).
cloudbox.tar.backup
file is now deleted after a successful tar archiving task.rclone.conf
and settings.yml
files separate from cloudbox.tar
.rclone.conf
in ~/cloudbox/
and, if found, moves it to ~/.config/rclone/rclone.conf
.netaddr
is now installed via the Dependency Installer script instead of Ansible./opt
to ugo+X
instead of 0775
.stop_timeout
to Docker container.18.03.1
.update-nginx-proxy
vs update-nginx
.v10.X
.~/logs/
path.full
).PATH
to cron task fix issues with purge-old-kernels.adv_settings.yml
For misc/advanced settings that that don't seem to fit in the main settings.yml
file.adv_settings.yml
.adv_settings.yml
.adv_settings.yml
.cloudbox
and feederbox
)./mnt/feeder
path of a Plexbox.cloudbox
, plexbox
, feederbox
.
extsearch
plugin for new and old installs.
passwd
in settings.yml
./opt/sonarr/MediaCover
and /opt/radarr/MediaCover
.core
(new)full
-> cloudbox
plex
-> mediabox
feeder
-> feederbox
update-
and install-
prefixes removed from all tagssudo ansible-playbook cloudbox.yml --list-tags
www
subdomain to Organizr when direct_domain
is set in adv_settings.yml
.shell: bash
in adv_settings.yml
and run the shell
tag./scripts/plexpy/
points to /opt/scripts/plexpy/
./home/{{user}}
folder to {{user}}:{{user}}
.--loglevel=INFO
to service file.--loglevel=INFO
to service file.rclone.conf
, and if found, move it to the correct 'default' location.nano
as default editor.system
tag.docker
tags.shell
role replaces zsh
and bash
roles.
adv_settings.yml
to switch between them.cloudflare_enabled
.rclone.conf
so having it in cloudbox folder doesnt git conflict.hash_behavior
) in ansible.cfg
(for new users).backup_excludes.txt
into the backup role.
backup_excludes.txt
file in the cloudbox folder, and backup will use that one instead.uid
, guid
, and vgid
variables.common
tag to role.accounts.yml
.
ANSIBLE_CONFIG
env variable to cron task.--skip-tags settings
to the cron task./opt/scripts/nzbs/
./opt/scripts/torents/
.hash_behavior
into ansible.cfg
if missing (for current users).settings.yml
).old_downloads_settings
and new_downloads_settings
variables.latest
version if no setting is specified.beta
tag as well.docker-ce 18.05.0
for all Ubuntu versions.vhost.d
folder.nzbs
folder to nzbget
.--tags sabnzbd
domain:8080
. Just take out the :8080
part and it will be OK from then on.sabnzbd
.--tags plex_auth_token
to print out the token.accounts.yml
.docker-py
with docker
.~/logs/
to ~/logs/backup/
.lxml
for Ansible's XML module.purge_networks: yes
to all container tasks.cloudbox
docker network/scripts
to plex.organizr
to organizrv1
as legacy support.
--tags organizrv1
to install.organizrv1
direct_domain
settings do get applied to this. So if you want to have both versions, turn the setting off before installing the other./opt/organizr
to /opt/organizrv1
.adv_settings.yml
option to open/close port 32400 on host.direct_domain
option in adv_settings.yml
. Can now only be used with a subdomain.backup.lock
files, automatically.0755
to 0775
for all permission tasks.0644
to 0664
for all permission tasks.httpie
.nginx
scripts folder to nginx-proxy
.SafeRename.py
as it did not work too well.accounts.yml
.config.json
.zip
./opt
permissions if folder age >= 7 days.apprise
.HashRenamer.py
PP script."com.github.cloudbox.cloudbox_managed": "true"
label to all CB for future use.subliminal
.reinstall-webtools
.bashrc
from /etc/skel
when missing.accounts.yml
.
accounts.yml
. Still backwards compatible with old location under backup.