More cleanup.
This commit is contained in:
parent
e49c4f80f3
commit
3b13618eff
@ -9,7 +9,7 @@ sudo: false
|
|||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- python-pip
|
- python-pip
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Install ansible
|
# Install ansible
|
||||||
@ -26,4 +26,4 @@ script:
|
|||||||
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
|
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||||
|
@ -10,10 +10,10 @@ arrs_setup_path: '~/arrs'
|
|||||||
arrs_uid:
|
arrs_uid:
|
||||||
arrs_gid:
|
arrs_gid:
|
||||||
|
|
||||||
deluge_enabled: true
|
deluge_enabled: true
|
||||||
radarr_enabled: true
|
radarr_enabled: true
|
||||||
sonarr_enabled: true
|
sonarr_enabled: true
|
||||||
lidarr_enabled: true
|
lidarr_enabled: true
|
||||||
jackett_enabled: true
|
jackett_enabled: true
|
||||||
|
|
||||||
# Deluge torrent
|
# Deluge torrent
|
||||||
@ -33,10 +33,10 @@ radarr_host_port: 7878
|
|||||||
|
|
||||||
radarr_config_volume: '{{ arrs_configuration_volume }}/radarr'
|
radarr_config_volume: '{{ arrs_configuration_volume }}/radarr'
|
||||||
radarr_upload_volume: '/mnt/videos/Movies'
|
radarr_upload_volume: '/mnt/videos/Movies'
|
||||||
radarr_library_volumes:
|
radarr_library_volumes:
|
||||||
- {path: '/mnt/video/Gold', alias: 'gold' }
|
- {path: '/mnt/video/Gold', alias: 'gold'}
|
||||||
- {path: '/mnt/video/Current', alias: 'current' }
|
- {path: '/mnt/video/Current', alias: 'current'}
|
||||||
- {path: '/mnt/video/Temporary', alias: 'temporary' }
|
- {path: '/mnt/video/Temporary', alias: 'temporary'}
|
||||||
|
|
||||||
# Sonarr
|
# Sonarr
|
||||||
#
|
#
|
||||||
@ -45,10 +45,10 @@ sonarr_host_port: 8989
|
|||||||
|
|
||||||
sonarr_config_volume: '{{ arrs_configuration_volume }}/sonarr'
|
sonarr_config_volume: '{{ arrs_configuration_volume }}/sonarr'
|
||||||
sonarr_upload_volume: '/mnt/videos/Series'
|
sonarr_upload_volume: '/mnt/videos/Series'
|
||||||
sonarr_library_volumes:
|
sonarr_library_volumes:
|
||||||
- {path: '/mnt/tv/Series', alias: 'series' }
|
- {path: '/mnt/tv/Series', alias: 'series'}
|
||||||
- {path: '/mnt/tv/Animation', alias: 'animation' }
|
- {path: '/mnt/tv/Animation', alias: 'animation'}
|
||||||
- {path: '/mnt/tv/SciFi', alias: 'scifi' }
|
- {path: '/mnt/tv/SciFi', alias: 'scifi'}
|
||||||
|
|
||||||
# Lidarr
|
# Lidarr
|
||||||
lidarr_image_version: 'latest'
|
lidarr_image_version: 'latest'
|
||||||
@ -56,10 +56,10 @@ lidarr_host_port: 8686
|
|||||||
|
|
||||||
lidarr_config_volume: '{{ arrs_configuration_volume }}/lidarr'
|
lidarr_config_volume: '{{ arrs_configuration_volume }}/lidarr'
|
||||||
lidarr_upload_volume: '/mnt/music/Reference'
|
lidarr_upload_volume: '/mnt/music/Reference'
|
||||||
lidarr_library_volumes:
|
lidarr_library_volumes:
|
||||||
- {path: '/mnt/music/Sonos', alias: 'sonos' }
|
- {path: '/mnt/music/Sonos', alias: 'sonos'}
|
||||||
- {path: '/mnt/music/Audiophile', alias: 'audiophile' }
|
- {path: '/mnt/music/Audiophile', alias: 'audiophile'}
|
||||||
- {path: '/mnt/music/Raw', alias: 'raw' }
|
- {path: '/mnt/music/Raw', alias: 'raw'}
|
||||||
|
|
||||||
# Jakett
|
# Jakett
|
||||||
jackett_image_version: 'latest'
|
jackett_image_version: 'latest'
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
# handlers file for arrs
|
# handlers file for arrs
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Laur Ivan
|
author: Laur Ivan
|
||||||
namespace: laurivan
|
namespace: laurivan
|
||||||
@ -25,7 +26,7 @@ galaxy_info:
|
|||||||
versions:
|
versions:
|
||||||
- all
|
- all
|
||||||
|
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- sonarr
|
- sonarr
|
||||||
- lidarr
|
- lidarr
|
||||||
- deluge
|
- deluge
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
state: absent
|
state: absent
|
||||||
when: docker_compose_file.stat.exists
|
when: docker_compose_file.stat.exists
|
||||||
become: false
|
become: false
|
||||||
|
|
||||||
- name: Remove the docker-compose file
|
- name: Remove the docker-compose file
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "~/arrs/docker-compose.yml"
|
path: "~/arrs/docker-compose.yml"
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
- name: "Include necessary variables"
|
- name: "Include necessary variables"
|
||||||
ansible.builtin.include_vars:
|
ansible.builtin.include_vars:
|
||||||
file: "../../.env.yml"
|
file: "../../.env.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: laurivan.arrs
|
- role: laurivan.arrs
|
||||||
|
@ -27,4 +27,4 @@ verifier:
|
|||||||
lint: |
|
lint: |
|
||||||
set -e
|
set -e
|
||||||
yamllint .
|
yamllint .
|
||||||
ansible-lint .
|
ansible-lint .
|
||||||
|
@ -14,18 +14,19 @@
|
|||||||
when: not docker_sock_stat.stat.exists
|
when: not docker_sock_stat.stat.exists
|
||||||
|
|
||||||
- name: Move docker.sock from tmp
|
- name: Move docker.sock from tmp
|
||||||
ansible.builtin.raw: mount --move /tmp/docker_mounted.sock /var/run/docker.sock
|
ansible.builtin.raw: >
|
||||||
|
mount --move /tmp/docker_mounted.sock /var/run/docker.sock
|
||||||
become: true
|
become: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: not docker_sock_stat.stat.exists
|
when: not docker_sock_stat.stat.exists
|
||||||
|
|
||||||
- name: Update apt cache.
|
- name: Update apt cache.
|
||||||
ansible.builtin.apt: update_cache=yes cache_valid_time=600
|
ansible.builtin.apt: update_cache=yes cache_valid_time=600
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Install python requests
|
- name: Install python requests
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
name:
|
name:
|
||||||
- requests
|
- requests
|
||||||
- docker
|
- docker
|
||||||
- docker-compose
|
- docker-compose
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
remote_user: root
|
remote_user: root
|
||||||
roles:
|
roles:
|
||||||
- arrs
|
- arrs
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
# vars file for arrs
|
# vars file for arrs
|
||||||
|
Loading…
Reference in New Issue
Block a user