mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-15 08:27:19 +00:00
4033bfb60d
Not all containers can use the TZ as an ENV. Updated the ones that can.
22 lines
544 B
YAML
22 lines
544 B
YAML
- name: Create Tautulli Directories
|
|
file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
# mode: 0755
|
|
with_items:
|
|
- "{{ tautulli_config_directory }}"
|
|
|
|
- name: Tautulli Docker Container
|
|
docker_container:
|
|
name: tautulli
|
|
image: linuxserver/tautulli
|
|
pull: true
|
|
volumes:
|
|
- "{{ tautulli_config_directory }}:/config:rw"
|
|
network_mode: "host"
|
|
env:
|
|
TZ: "{{ ansible_nas_timezone }}"
|
|
PUID: "{{ tautulli_user_id }}"
|
|
PGID: "{{ tautulli_group_id }}"
|
|
restart_policy: unless-stopped
|
|
memory: 1g
|