mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Ansible output for Calibre clarified
This commit is contained in:
parent
270846585a
commit
3bcd3d3910
1 changed files with 5 additions and 5 deletions
|
@ -14,8 +14,8 @@
|
|||
|
||||
- name: Install Calibre (OS's other than CentOS)
|
||||
# the fedora rpm arm version, though older, takes care of dependencies, and exists
|
||||
package: name={{ item }}
|
||||
state=present
|
||||
package: name={{ item }}
|
||||
state=latest
|
||||
with_items:
|
||||
- calibre
|
||||
when: calibre_install and ansible_distribution != 'CentOS'
|
||||
|
@ -32,13 +32,13 @@
|
|||
- { src: 'calibre.conf', dest: '/etc/{{ apache_config_dir }}', mode: '0644'}
|
||||
when: calibre_install
|
||||
|
||||
- name: Create the link for sites-enabled (debuntu)
|
||||
- name: Create the link for sites-enabled, containing ProxyPass[Reverse]...localhost:8080 (debuntu)
|
||||
file: src=/etc/apache2/sites-available/calibre.conf
|
||||
dest=/etc/apache2/sites-enabled/calibre.conf
|
||||
state=link
|
||||
when: is_debuntu and calibre_enabled
|
||||
|
||||
- name: Enable Calibre server
|
||||
- name: Enable Calibre service -- which runs calibre-server
|
||||
service: name=calibre-serve
|
||||
enabled=yes
|
||||
state=started
|
||||
|
@ -46,7 +46,7 @@
|
|||
#poll: 5
|
||||
when: calibre_enabled
|
||||
|
||||
- name: Disable Calibre server
|
||||
- name: Disable Calibre service -- which stops calibre-server
|
||||
service: name=calibre-serve
|
||||
enabled=no
|
||||
state=stopped
|
||||
|
|
Loading…
Reference in a new issue