mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Update main.yml
This commit is contained in:
parent
12dd0d7613
commit
d005edad55
1 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
path: "/usr/bin/calibre"
|
||||
register: calib_executable
|
||||
|
||||
- name: Install latest packages calibre and calibre-bin, via OS's package installer (IF not rpi AND /usr/bin/calibre MISSING)
|
||||
- name: Install OS's latest packages: calibre, calibre-bin (IF not rpi AND /usr/bin/calibre MISSING)
|
||||
package:
|
||||
name:
|
||||
- calibre
|
||||
|
@ -51,14 +51,14 @@
|
|||
when: (not calib_executable.stat.exists)
|
||||
#when: calibre_config.changed
|
||||
|
||||
# 2. STOP CALIBRE SERVICE IF IT EXISTS (REQUIRED FOR DB ACTIVITY...AND IF not calibre_enabled)
|
||||
# 2. STOP CALIBRE SERVICE (REQUIRED FOR DB ACTIVITY...AND IF not calibre_enabled)
|
||||
|
||||
#- name: Check if Calibre systemd service exists
|
||||
# stat:
|
||||
# path: /etc/systemd/system/calibre-serve.service
|
||||
# register: calibre_svc
|
||||
|
||||
- name: Stop Calibre service -- calibre-server by Kovid Goyal
|
||||
- name: Stop service 'calibre-serve' (/usr/bin/calibre-server by Kovid Goyal)
|
||||
systemd:
|
||||
name: calibre-serve
|
||||
state: stopped
|
||||
|
@ -116,7 +116,7 @@
|
|||
state: absent
|
||||
when: (not calibre_enabled) and is_debuntu
|
||||
|
||||
- name: Enable & Start Calibre service -- runs calibre-server by Kovid Goyal
|
||||
- name: Enable & Start service 'calibre-serve' (/usr/bin/calibre-server by Kovid Goyal)
|
||||
service:
|
||||
name: calibre-serve
|
||||
enabled: yes
|
||||
|
|
Loading…
Reference in a new issue