From 2c22d476db9a3cb2baf382091e5df119fa22c837 Mon Sep 17 00:00:00 2001 From: David Stephens Date: Sun, 25 Feb 2024 15:29:54 +0000 Subject: [PATCH] Tidy up Heimdall --- roles/heimdall/defaults/main.yml | 7 +------ roles/heimdall/tasks/main.yml | 19 ------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/roles/heimdall/defaults/main.yml b/roles/heimdall/defaults/main.yml index c1cc657c..85c61aa2 100644 --- a/roles/heimdall/defaults/main.yml +++ b/roles/heimdall/defaults/main.yml @@ -7,14 +7,9 @@ heimdall_docker_image: linuxserver/heimdall:latest heimdall_data_directory: "{{ docker_home }}/heimdall" # network -heimdall_port_http: "10080" -heimdall_port_https: "10443" +heimdall_port_http: "11112" heimdall_hostname: heimdall -# uid / gid -heimdall_user_id: "1310" -heimdall_group_id: "1310" - # specs heimdall_memory: 1g diff --git a/roles/heimdall/tasks/main.yml b/roles/heimdall/tasks/main.yml index 2cb56fcf..7b9364f1 100644 --- a/roles/heimdall/tasks/main.yml +++ b/roles/heimdall/tasks/main.yml @@ -1,22 +1,6 @@ --- - name: Start Heimdall block: - - name: Create Heimdall group - ansible.builtin.group: - name: heimdall - gid: "{{ heimdall_group_id }}" - state: present - - - name: Create Heimdall user - ansible.builtin.user: - name: heimdall - uid: "{{ heimdall_user_id }}" - state: present - system: yes - update_password: on_create - create_home: no - group: heimdall - - name: Create Heimdall Directories ansible.builtin.file: path: "{{ item }}" @@ -34,12 +18,9 @@ volumes: - "{{ heimdall_data_directory }}:/config:rw" env: - PUID: "{{ heimdall_user_id }}" - PGID: "{{ heimdall_group_id }}" TZ: "{{ ansible_nas_timezone }}" ports: - "{{ heimdall_port_http }}:80" - - "{{ heimdall_port_https }}:443" restart_policy: unless-stopped memory: "{{ heimdall_memory }}" labels: