From 81ad70277e385bdbc8a0e4b7b7b418465736000a Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 29 Apr 2020 17:47:52 -0400 Subject: [PATCH] Delete calibre/tasks/enable.yml --- roles/calibre/tasks/enable.yml | 49 ---------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 roles/calibre/tasks/enable.yml diff --git a/roles/calibre/tasks/enable.yml b/roles/calibre/tasks/enable.yml deleted file mode 100644 index 21bde746b..000000000 --- a/roles/calibre/tasks/enable.yml +++ /dev/null @@ -1,49 +0,0 @@ -# 5. WRAP UP: ENABLE CALIBRE SERVICE, http://box/books ETC - -# http://box:8080 & http://box:8080/mobile WORK BUT OTHER URL'S LIKE http://box/calibre ARE A MESS (BOOKS RARELY DISPLAY) -# -# 2018-08-27 POSSIBLE FIX...CONSIDER THIS ProxyPass / ProxyPassReverse TECHNIQUE: -# https://github.com/iiab/iiab/tree/master/roles/calibre-web/templates/calibre-web.conf.j2 -# (anyway this works great for calibre-web, allowing http://box/books -# to work even better than http://box:8083 when box == 192.168.0.x !) -- name: Attempt to enable http://box/calibre via Apache (UNTESTED) - command: a2ensite calibre.conf - when: apache_installed and calibre_enabled - -- name: Attempt to disable http://box/calibre via Apache (UNTESTED) - command: a2dissite calibre.conf - when: apache_installed and not calibre_enabled - -- name: Enable & Start service 'calibre-serve' (/usr/bin/calibre-server by Kovid Goyal) - service: - name: calibre-serve - enabled: yes - state: started - when: calibre_enabled | bool - #async: 900 - #poll: 5 - -- name: Reload Apache service ({{ apache_service }}) - systemd: - name: "{{ apache_service }}" - state: reloaded - -- name: Add 'calibre' variable values to {{ iiab_ini_file }} - ini_file: - path: "{{ iiab_ini_file }}" - section: calibre - option: "{{ item.option }}" - value: "{{ item.value | string }}" - with_items: - - option: name - value: Calibre - - option: description - value: '"Calibre is an extremely popular personal library system for e-books."' - - option: url - value: "{{ calibre_src_url }}" - - option: database - value: "{{ calibre_dbpath }}" - - option: port - value: "{{ calibre_port }}" - - option: calibre_enabled - value: "{{ calibre_enabled }}"