Moved to ext4 for permissions on hdd.
--- a/papermc/tasks/main.yaml Tue Jun 09 19:23:44 2020 -0500
+++ b/papermc/tasks/main.yaml Sat Jun 13 14:58:31 2020 -0500
@@ -43,6 +43,7 @@
state: "directory"
owner: "{{papermc_user}}"
group: "{{papermc_user}}"
+ recurse: "yes"
mode: "0755"
- name: set world files
--- a/plex/handlers/main.yaml Tue Jun 09 19:23:44 2020 -0500
+++ b/plex/handlers/main.yaml Sat Jun 13 14:58:31 2020 -0500
@@ -1,5 +1,5 @@
---
- name: restart plex service
+ become: yes
systemd: name="plexmediaserver" state="restarted" daemon_reload="yes"
- become: yes
--- a/plex/tasks/main.yaml Tue Jun 09 19:23:44 2020 -0500
+++ b/plex/tasks/main.yaml Sat Jun 13 14:58:31 2020 -0500
@@ -19,3 +19,7 @@
become: yes
apt: name="plexmediaserver"
notify: restart plex service
+
+- name: ensure plex service is running
+ become: yes
+ systemd: name="plexmediaserver.service" state="started" daemon_reload="yes"
--- a/transmission/defaults/main.yaml Tue Jun 09 19:23:44 2020 -0500
+++ b/transmission/defaults/main.yaml Sat Jun 13 14:58:31 2020 -0500
@@ -4,3 +4,4 @@
transmission_port: "9091"
transmission_passwd: "transmission"
transmission_download_dir: "/var/lib/transmission-daemon/downloads"
+transmission_user: "debian-transmission"
--- a/transmission/tasks/main.yaml Tue Jun 09 19:23:44 2020 -0500
+++ b/transmission/tasks/main.yaml Sat Jun 13 14:58:31 2020 -0500
@@ -5,6 +5,16 @@
apt: name="transmission-daemon"
notify: restart transmission service
+- name: create data dir
+ become: yes
+ file:
+ path: "{{transmission_download_dir}}"
+ state: "directory"
+ owner: "{{transmission_user}}"
+ group: "{{transmission_user}}"
+ mode: "0755"
+ recurse: "yes"
+
- name: stop transmission service
systemd: name="transmission-daemon" state="stopped" daemon_reload="yes"
become: yes
@@ -75,6 +85,6 @@
notify: restart transmission service
- name: start transmission service
+ become: yes
systemd: name="transmission-daemon" state="started" daemon_reload="yes"
- become: yes
changed_when: false