Browse Source

add tvheadend services playbook

Blaine Story 3 months ago
parent
commit
fd31b7a13c
1 changed files with 33 additions and 0 deletions
  1. 33 0
      plays/tvheadend-services.yml

+ 33 - 0
plays/tvheadend-services.yml

@@ -0,0 +1,33 @@
+---
+- hosts: tvheadend
+  gather_facts: true
+  become: true
+
+  roles:
+    - vladgh.samba.server
+    - statusservices
+
+  vars_files:
+    - "{{ inventory_dir }}/vars/vault.yaml"
+
+  vars:
+    status_services_extra:
+      - tvheadend
+      - smbd
+
+    samba_guest_account: hts
+    samba_map_to_guest: bad user
+    samba_netbios_name: "{{ ansible_hostname }}"
+    samba_load_printers: false
+    samba_shares_root: /recordings
+
+    samba_shares:
+      - name: recordings
+        path: /recordings
+        force_create_mode: '0664'
+        force_directory_mode: '0775'
+        guest_ok: "yes"
+        writable: "yes"
+        public: "yes"
+        owner: hts
+        group: hts