pleroma/otp/tasks/main.yaml
changeset 143 7d4a477be685
parent 141 0708c9c075fc
child 227 2e0366f2dcbe
--- a/pleroma/otp/tasks/main.yaml	Sat Nov 07 08:19:21 2020 -0600
+++ b/pleroma/otp/tasks/main.yaml	Mon Nov 16 16:42:59 2020 -0600
@@ -6,7 +6,10 @@
 
 - name: apt install pleroma dependencies
   become: yes
-  apt: name="libtinfo5"
+  apt: name="{{item}}"
+  loop:
+    - "libmagic-dev"
+    - "libtinfo5"
 
 - name: create pleroma config and data directories
   become: yes
@@ -14,7 +17,7 @@
     path: "{{item}}"
     state: "directory"
     mode: "0755"
-  with_items:
+  loop:
     - "{{pleroma_data_dir}}"
     - "/etc/pleroma"
     - "/opt/pleroma"