瀏覽代碼

GOtta make sure src is created for pixelfed

Colin Powell 2 年之前
父節點
當前提交
ab32ac1e4f
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      ansible/roles/pixelfed/tasks/main.yml

+ 6 - 0
ansible/roles/pixelfed/tasks/main.yml

@@ -4,6 +4,12 @@
     name: "git php74-composer php74-intl php74-dom php74-tokenizer php74-xmlwriter php74-xml php74-zip php74-fileinfo php74-pcntl php74-posix php74-simplexml php74-pdo redis php74-iconv php74-curl php74-bcmath php74-pgsql php74-pdo_pgsql php74-session"
     state: latest
 
+- name: Source folder exists
+  file:
+    path: /usr/local/src
+    mode: 0755
+    state: directory
+
 - name: Pixelfed source fetched
   shell: git clone -b dev https://github.com/pixelfed/pixelfed.git /usr/local/src/pixelfed