Explorar o código

[misc] Clean up build reqs for linkaces, emus and calibre-web

Colin Powell hai 8 meses
pai
achega
c9c4adfa6c

+ 1 - 1
lab/ansible/roles/calibre-web/tasks/main.yml

@@ -1,7 +1,7 @@
 ---
 - name: Dependencies installed
   community.general.pkgng:
-    name: py38-pip rust
+    name: py38-pip,rust,libxslt,libxml2
     state: latest
 
 - name: Calibre-Web installed

+ 1 - 1
lab/ansible/roles/emus/tasks/main.yml

@@ -1,7 +1,7 @@
 ---
 - name: Dependencies installed
   community.general.pkgng:
-    name: py39-pip,jpeg-turbo,tiff,webp,lcms2,freetype2,cairo,pango,rust,postgresql13-client
+    name: py39-pip,py39-cryptography,jpeg-turbo,tiff,webp,lcms2,freetype2,cairo,pango,rust,postgresql13-client
     state: latest
 
 - name: Static files folder exists

+ 1 - 1
lab/ansible/roles/emus/templates/immortaly.yml.j2

@@ -1,4 +1,4 @@
-cmd: emus runserver 0.0.0.0:8000
+cmd: gunicorn --bind 0.0.0.0:8011 -w 2 --threads 2 emus_web.wsgi:application
 log:
     file: /var/log/emus.log
     age: 86400 # log 1 day

+ 3 - 3
lab/ansible/roles/linkace/tasks/main.yml

@@ -1,7 +1,7 @@
 ---
 - name: Dependencies installed
   community.general.pkgng:
-    name: git-tiny,php82-pecl-redis,php82-ctype,php82-xml,php82-pdo_pgsql,php82-tokenizer,php82-fileinfo,php82-bcmath
+    name: git-tiny,php82-pecl-redis,php82-ctype,php82-xml,php82-pdo_pgsql,php82-tokenizer,php82-fileinfo,php82-bcmath,php82-mbstring,php82-dom
     state: latest
 
 - name: PHP-fpm enabled
@@ -13,12 +13,12 @@
 - name: Fetched linkace source
   shell:
     chdir: /usr/local/src/linkace
-    cmd: fetch https://github.com/Kovah/LinkAce/releases/download/v1.9.2/linkace-v1.9.2.zip
+    cmd: fetch https://github.com/Kovah/LinkAce/releases/download/v1.13.0/linkace-v1.13.0.zip
 
 - name: Unpacked linkace source
   ansible.builtin.command:
     chdir: /usr/local/src/linkace
-    cmd: unzip -o linkace-v1.9.2.zip
+    cmd: unzip -o linkace-v1.13.0.zip
 
 - name: Unpacked linkace source (inception)
   ansible.builtin.command:

+ 2 - 2
lab/ansible/roles/miniflux/tasks/main.yml

@@ -1,11 +1,11 @@
 ---
 - name: Miniflux installed
   community.general.pkgng:
-    name: miniflux
+    name: miniflux,immortal
     state: latest
 
 - name: Miniflux enabled
-  shell: sysrc miniflux_enable="YES"
+  shell: sysrc immortaldir_enable="YES"
   notify: Miniflux restarted
 
 - name: Miniflux config installed

+ 0 - 1
lab/ansible/roles/podgrab/tasks/main.yml

@@ -24,7 +24,6 @@
 - name: Patch podgrab for jails
   shell:
     cmd: 'sed -i -e ''s/client\/*/\/usr\/local\/src\/podgrab\/client\//'' /usr/local/src/podgrab/main.go'
-    warn: false
   tags:
     - build