Skip to content

Commit

Permalink
sabnzbd: add IPv6 ENV when not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Jul 16, 2024
1 parent b5d5747 commit 1cbf03c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/docker/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ docker_filesystem_path: "/media/docker-volume.img"

docker_filesystem_size: "20G"

docker_ipv6: "{{ dns.ipv6 }}"
docker_ipv6: "{{ dns.ipv6 | bool }}"

# Service

Expand Down
1 change: 1 addition & 0 deletions roles/sabnzbd/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ sabnzbd_docker_envs_default:
PGID: "{{ gid }}"
UMASK: "002"
TZ: "{{ tz }}"
HAS_IPV6: "{{ omit if docker_ipv6 else 'false' }}"
sabnzbd_docker_envs_custom: {}
sabnzbd_docker_envs: "{{ sabnzbd_docker_envs_default
| combine(sabnzbd_docker_envs_custom) }}"
Expand Down

0 comments on commit 1cbf03c

Please sign in to comment.