diff --git a/.travis.yml b/.travis.yml index 36bbf62..121cc49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ sudo: false addons: apt: packages: - - python-pip + - python-pip install: # Install ansible @@ -26,4 +26,4 @@ script: - ansible-playbook tests/test.yml -i tests/inventory --syntax-check notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file + webhooks: https://galaxy.ansible.com/api/v1/notifications/ diff --git a/defaults/main.yml b/defaults/main.yml index 4ba9c43..2a5be27 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -10,10 +10,10 @@ arrs_setup_path: '~/arrs' arrs_uid: arrs_gid: -deluge_enabled: true -radarr_enabled: true -sonarr_enabled: true -lidarr_enabled: true +deluge_enabled: true +radarr_enabled: true +sonarr_enabled: true +lidarr_enabled: true jackett_enabled: true # Deluge torrent @@ -33,10 +33,10 @@ radarr_host_port: 7878 radarr_config_volume: '{{ arrs_configuration_volume }}/radarr' radarr_upload_volume: '/mnt/videos/Movies' -radarr_library_volumes: - - {path: '/mnt/video/Gold', alias: 'gold' } - - {path: '/mnt/video/Current', alias: 'current' } - - {path: '/mnt/video/Temporary', alias: 'temporary' } +radarr_library_volumes: + - {path: '/mnt/video/Gold', alias: 'gold'} + - {path: '/mnt/video/Current', alias: 'current'} + - {path: '/mnt/video/Temporary', alias: 'temporary'} # Sonarr # @@ -45,10 +45,10 @@ sonarr_host_port: 8989 sonarr_config_volume: '{{ arrs_configuration_volume }}/sonarr' sonarr_upload_volume: '/mnt/videos/Series' -sonarr_library_volumes: - - {path: '/mnt/tv/Series', alias: 'series' } - - {path: '/mnt/tv/Animation', alias: 'animation' } - - {path: '/mnt/tv/SciFi', alias: 'scifi' } +sonarr_library_volumes: + - {path: '/mnt/tv/Series', alias: 'series'} + - {path: '/mnt/tv/Animation', alias: 'animation'} + - {path: '/mnt/tv/SciFi', alias: 'scifi'} # Lidarr lidarr_image_version: 'latest' @@ -56,10 +56,10 @@ lidarr_host_port: 8686 lidarr_config_volume: '{{ arrs_configuration_volume }}/lidarr' lidarr_upload_volume: '/mnt/music/Reference' -lidarr_library_volumes: - - {path: '/mnt/music/Sonos', alias: 'sonos' } - - {path: '/mnt/music/Audiophile', alias: 'audiophile' } - - {path: '/mnt/music/Raw', alias: 'raw' } +lidarr_library_volumes: + - {path: '/mnt/music/Sonos', alias: 'sonos'} + - {path: '/mnt/music/Audiophile', alias: 'audiophile'} + - {path: '/mnt/music/Raw', alias: 'raw'} # Jakett jackett_image_version: 'latest' diff --git a/handlers/main.yml b/handlers/main.yml index b1e1e40..029b236 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,2 +1,2 @@ --- -# handlers file for arrs \ No newline at end of file +# handlers file for arrs diff --git a/meta/main.yml b/meta/main.yml index dd9bbe5..f544156 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,3 +1,4 @@ +--- galaxy_info: author: Laur Ivan namespace: laurivan @@ -25,7 +26,7 @@ galaxy_info: versions: - all - galaxy_tags: + galaxy_tags: - sonarr - lidarr - deluge diff --git a/molecule/default/cleanup.yml b/molecule/default/cleanup.yml index 4c3ec7c..026fa75 100644 --- a/molecule/default/cleanup.yml +++ b/molecule/default/cleanup.yml @@ -15,7 +15,7 @@ state: absent when: docker_compose_file.stat.exists become: false - + - name: Remove the docker-compose file ansible.builtin.file: path: "~/arrs/docker-compose.yml" diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index 65badf0..d58ceda 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -6,6 +6,6 @@ - name: "Include necessary variables" ansible.builtin.include_vars: file: "../../.env.yml" - + roles: - role: laurivan.arrs diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 2788521..5f1e6f9 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -27,4 +27,4 @@ verifier: lint: | set -e yamllint . - ansible-lint . \ No newline at end of file + ansible-lint . diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml index 56150f8..2dd0d1b 100644 --- a/molecule/default/prepare.yml +++ b/molecule/default/prepare.yml @@ -14,18 +14,19 @@ when: not docker_sock_stat.stat.exists - 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 changed_when: false when: not docker_sock_stat.stat.exists - + - name: Update apt cache. ansible.builtin.apt: update_cache=yes cache_valid_time=600 when: ansible_os_family == 'Debian' - name: Install python requests ansible.builtin.pip: - name: + name: - requests - docker - docker-compose diff --git a/tests/test.yml b/tests/test.yml index 9baa734..08034ae 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -2,4 +2,4 @@ - hosts: localhost remote_user: root roles: - - arrs \ No newline at end of file + - arrs diff --git a/vars/main.yml b/vars/main.yml index f339c9e..4302079 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,2 +1,2 @@ --- -# vars file for arrs \ No newline at end of file +# vars file for arrs