mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-26 03:23:11 +00:00
Merge branch 'master' into feature/mymediaforalexa
This commit is contained in:
commit
0b952c6f89
10 changed files with 91 additions and 8 deletions
3
.github/ISSUE_TEMPLATE.md
vendored
3
.github/ISSUE_TEMPLATE.md
vendored
|
@ -13,8 +13,9 @@ Enter a couple of lines about the issue.
|
||||||
- Ansible-NAS kernel (`cat /etc/lsb-release` on the Ansible-NAS box):
|
- Ansible-NAS kernel (`cat /etc/lsb-release` on the Ansible-NAS box):
|
||||||
- Ansible-NAS Python version (`python --version` on the Ansible-NAS box):
|
- Ansible-NAS Python version (`python --version` on the Ansible-NAS box):
|
||||||
- Ansible-NAS Docker version (`docker --version` on the Ansible-NAS box):
|
- Ansible-NAS Docker version (`docker --version` on the Ansible-NAS box):
|
||||||
- Vagrant version, if testing (`vagrant --version`)
|
- Latest Docker logs (`journalctl -u docker.service` on the Ansible-NAS box):
|
||||||
- Are you running the playbook from a remote box or the Ansible-NAS box itself?
|
- Are you running the playbook from a remote box or the Ansible-NAS box itself?
|
||||||
|
- Vagrant version, if testing (`vagrant --version`)
|
||||||
|
|
||||||
**Expected behavior**
|
**Expected behavior**
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ just a stock Ubuntu install, some clever Ansible config and a bunch of Docker co
|
||||||
* [Guacamole](https://guacamole.apache.org/) - Web based remote desktop gateway, supports VNC, RDP and SSH
|
* [Guacamole](https://guacamole.apache.org/) - Web based remote desktop gateway, supports VNC, RDP and SSH
|
||||||
* [Heimdall](https://heimdall.site/) - Home server dashboard
|
* [Heimdall](https://heimdall.site/) - Home server dashboard
|
||||||
* [InfluxDB](https://github.com/influxdata/influxdb) - Time series database used for stats collection
|
* [InfluxDB](https://github.com/influxdata/influxdb) - Time series database used for stats collection
|
||||||
|
* [Jackett](https://github.com/Jackett/Jackett) - API Support for your favorite torrent trackers
|
||||||
* [MiniDlna](https://sourceforge.net/projects/minidlna/) - simple media server which is fully compliant with DLNA/UPnP-AV clients
|
* [MiniDlna](https://sourceforge.net/projects/minidlna/) - simple media server which is fully compliant with DLNA/UPnP-AV clients
|
||||||
* [Miniflux](https://miniflux.app/) - An RSS news reader
|
* [Miniflux](https://miniflux.app/) - An RSS news reader
|
||||||
* [MyMediaForAlexa](https://www.mymediaalexa.com/) - Lets you stream your music collection to your alexa device
|
* [MyMediaForAlexa](https://www.mymediaalexa.com/) - Lets you stream your music collection to your alexa device
|
||||||
|
|
11
docs/applications/jackett.md
Normal file
11
docs/applications/jackett.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# jackett
|
||||||
|
|
||||||
|
Homepage: [https://github.com/Jackett/Jackett](https://github.com/Jackett/Jackett)
|
||||||
|
|
||||||
|
Jackett works as a proxy server: it translates queries from apps (Sonarr, Radarr, SickRage, CouchPotato, Mylar, DuckieTV, qBittorrent, Nefarious etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Set `jackett: true` in your `group_vars/all.yml` file.
|
||||||
|
|
||||||
|
The jackett web interface can be found at http://ansible_nas_host_or_ip:9117.
|
|
@ -15,6 +15,7 @@ By default, applications can be found on the ports listed below.
|
||||||
| Grafana | 3000 | |
|
| Grafana | 3000 | |
|
||||||
| Guacamole | 8090 | |
|
| Guacamole | 8090 | |
|
||||||
| Heimdall | 10080 | |
|
| Heimdall | 10080 | |
|
||||||
|
| Jackett | 9117 | |
|
||||||
| MiniDLNA | 8201 | |
|
| MiniDLNA | 8201 | |
|
||||||
| Miniflux | 8070 | |
|
| Miniflux | 8070 | |
|
||||||
| MyMediaForAlexa | 52051 | |
|
| MyMediaForAlexa | 52051 | |
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
![Ansible-NAS Logo](https://raw.githubusercontent.com/davestephens/ansible-nas/master/misc/ansible-nas.png "Ansible-NAS Logo")
|
![Ansible-NAS Logo](https://raw.githubusercontent.com/davestephens/ansible-nas/master/misc/ansible-nas.png "Ansible-NAS Logo")
|
||||||
|
|
||||||
After getting burned by broken FreeNAS updates one too many times, I figured I could do a much better job myself using just a stock Ubuntu install, some clever Ansible config and a bunch of Docker containers. Ansible-NAS was born!
|
After getting burned by broken FreeNAS updates one too many times, I figured I
|
||||||
|
could do a much better job myself using just a stock Ubuntu install, some clever
|
||||||
|
Ansible config and a bunch of Docker containers. Ansible-NAS was born!
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
@ -20,7 +22,9 @@ After getting burned by broken FreeNAS updates one too many times, I figured I c
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Head to [installation](installation.md) if you're ready to roll, or
|
Head to [installation](installation.md) if you're ready to roll, or to
|
||||||
[testing](testing.md) if you want to spin up a test VM first. If this is all
|
[testing](testing.md) if you want to spin up a test Virtual Machine first. Once
|
||||||
very confusing, there is also an [overview](overview.md) of the project and what
|
you're done, check out the [post-installation](post_installation.md) steps.
|
||||||
is required for complete beginners.
|
|
||||||
|
If this is all very confusing, there is also an [overview](overview.md) of the
|
||||||
|
project and what is required for complete beginners.
|
||||||
|
|
29
docs/post_installation.md
Normal file
29
docs/post_installation.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
So you've installed Ansible-NAS. Now what?
|
||||||
|
|
||||||
|
The first thing to do is to configure [Heimdall](https://heimdall.site/) as the
|
||||||
|
dashboard of your new NAS, because most of the applications included come with a
|
||||||
|
web interface. Heimdall lets you create "apps" for them which appear as little
|
||||||
|
icons on the screen.
|
||||||
|
|
||||||
|
To add applications to Heimdall, you'll need the IP address of your NAS. If you
|
||||||
|
don't know it for some reason, you will have to look up using the console with
|
||||||
|
`ip a`. The entry "link/ether", usually the second one after the loopback
|
||||||
|
device, will show the address. Another alternative is to make sure
|
||||||
|
[Avahi](https://www.avahi.org/) is installed for zero-configuration networking
|
||||||
|
(mDNS). This will allow you to `ssh` into your NAS and with the extension
|
||||||
|
`.local` to your machines name, such as `ssh tardis.local`. Then you can use the
|
||||||
|
`ip a` command again.
|
||||||
|
|
||||||
|
Next, you need the application's port, which you can look up in the [list of
|
||||||
|
ports](application_ports.md). You can test the combination of address and port
|
||||||
|
in your browser by typing them joined by a colon. For instance, for Glances on a
|
||||||
|
machine with the IPv4 address 192.168.1.2, the full address would be
|
||||||
|
`http://192.168.1.2:61208`. Once you are sure it works, use this address and
|
||||||
|
port combination when creating the Heimdall icon.
|
||||||
|
|
||||||
|
[Glances](https://nicolargo.github.io/glances/) and
|
||||||
|
[Portainer](https://www.portainer.io/) are probably the two applications you
|
||||||
|
want to add to Heimdall first, so you can see what is happening on the NAS.
|
||||||
|
Note that Portainer will ask for your admin password. After that, it depends on
|
||||||
|
what you have installed - see the listing for individual applications for more
|
||||||
|
information.
|
|
@ -31,6 +31,7 @@ sickrage_enabled: false
|
||||||
couchpotato_enabled: false
|
couchpotato_enabled: false
|
||||||
radarr_enabled: false
|
radarr_enabled: false
|
||||||
get_iplayer_enabled: false
|
get_iplayer_enabled: false
|
||||||
|
jackett_enabled: false
|
||||||
|
|
||||||
# Music
|
# Music
|
||||||
airsonic_enabled: false
|
airsonic_enabled: false
|
||||||
|
@ -443,3 +444,8 @@ get_iplayer_download_directory: "{{ tv_root }}/iplayer_downloads"
|
||||||
###
|
###
|
||||||
mymediaforalexa_media_directory: "{{ music_root }}"
|
mymediaforalexa_media_directory: "{{ music_root }}"
|
||||||
mymediaforalexa_data_directory: "{{ docker_home }}/mymediaforalexa"
|
mymediaforalexa_data_directory: "{{ docker_home }}/mymediaforalexa"
|
||||||
|
|
||||||
|
###
|
||||||
|
### jackett
|
||||||
|
###
|
||||||
|
jackett_data_directory: "{{ docker_home }}/jackett"
|
||||||
|
|
5
nas.yml
5
nas.yml
|
@ -131,7 +131,10 @@
|
||||||
when: (get_iplayer_enabled | default(False))
|
when: (get_iplayer_enabled | default(False))
|
||||||
tags: get_iplayer
|
tags: get_iplayer
|
||||||
|
|
||||||
|
|
||||||
- import_tasks: tasks/mymediaforalexa.yml
|
- import_tasks: tasks/mymediaforalexa.yml
|
||||||
when: (mymediaforalexa_enabled | default(False))
|
when: (mymediaforalexa_enabled | default(False))
|
||||||
tags: mymediaforalexa
|
tags: mymediaforalexa
|
||||||
|
|
||||||
|
- import_tasks: tasks/jackett.yml
|
||||||
|
when: (jackett_enabled | default(False))
|
||||||
|
tags: jackett
|
||||||
|
|
21
tasks/jackett.yml
Normal file
21
tasks/jackett.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
- name: Create jackett Directories
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- "{{ jackett_data_directory }}"
|
||||||
|
|
||||||
|
- name: jackett
|
||||||
|
docker_container:
|
||||||
|
name: jackett
|
||||||
|
image: linuxserver/jackett
|
||||||
|
volumes:
|
||||||
|
- "{{ jackett_data_directory }}:/config:rw"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
- "{{ torrents_root }}:/downloads"
|
||||||
|
ports:
|
||||||
|
- "9117:9117"
|
||||||
|
env:
|
||||||
|
TZ: "{{ ansible_nas_timezone }}"
|
||||||
|
restart_policy: unless-stopped
|
|
@ -31,6 +31,7 @@ sickrage_enabled: false
|
||||||
couchpotato_enabled: false
|
couchpotato_enabled: false
|
||||||
radarr_enabled: false
|
radarr_enabled: false
|
||||||
get_iplayer_enabled: false
|
get_iplayer_enabled: false
|
||||||
|
jackett_enabled: false
|
||||||
|
|
||||||
# Music
|
# Music
|
||||||
airsonic_enabled: false
|
airsonic_enabled: false
|
||||||
|
@ -443,3 +444,8 @@ get_iplayer_download_directory: "{{ tv_root }}/iplayer_downloads"
|
||||||
###
|
###
|
||||||
mymediaforalexa_media_directory: "{{ music_root }}"
|
mymediaforalexa_media_directory: "{{ music_root }}"
|
||||||
mymediaforalexa_data_directory: "{{ docker_home }}/mymediaforalexa"
|
mymediaforalexa_data_directory: "{{ docker_home }}/mymediaforalexa"
|
||||||
|
|
||||||
|
###
|
||||||
|
### jackett
|
||||||
|
###
|
||||||
|
jackett_data_directory: "{{ docker_home }}/jackett"
|
||||||
|
|
Loading…
Reference in a new issue