From 89794fc642ced5141c30677875cacf195ba7cde0 Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 14 Sep 2018 23:02:31 -0400 Subject: [PATCH] Update main.yml --- roles/calibre-web/tasks/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/calibre-web/tasks/main.yml b/roles/calibre-web/tasks/main.yml index 23826b79e..507bee572 100644 --- a/roles/calibre-web/tasks/main.yml +++ b/roles/calibre-web/tasks/main.yml @@ -1,4 +1,4 @@ -- name: Create calibre-web folders to store data and configuration files +- name: Create Calibre-Web folders to store data and configuration files file: path: "{{ item }}" owner: "{{ calibreweb_user }}" @@ -11,7 +11,7 @@ - "{{ calibreweb_config }}" ## TODO: Calibre-web future release might get into pypi https://github.com/janeczku/calibre-web/issues/456 -- name: Download calibre-web github repository +- name: Download Calibre-Web github repository git: repo: https://github.com/janeczku/calibre-web.git dest: "{{ calibreweb_venv_path }}" @@ -30,7 +30,7 @@ # ignore_errors: True ## # Implementing this with Ansible command module for now. -- name: Download calibre-web dependencies into virtual environment +- name: Download Calibre-Web dependencies into virtual environment pip: requirements: "{{ calibreweb_venv_path }}/requirements.txt" virtualenv: "{{ calibreweb_venv_path }}" @@ -43,7 +43,7 @@ src: "{{ calibreweb_venv_path }}/lib/python2.7/site-packages" dest: "{{ calibreweb_venv_path }}/vendor" -- name: Create calibre-web systemd service unit file and calibre-web.conf for Apache +- name: Create Calibre-Web systemd service unit file and calibre-web.conf for Apache template: src: "{{ item.src }}" dest: "{{ item.dest }}" @@ -84,7 +84,7 @@ when: not metadatadb.stat.exists #when: calibreweb_provision -- name: Enable and restart calibre-web service +- name: Enable and restart 'calibre-web' service systemd: name: calibre-web daemon_reload: yes @@ -101,7 +101,7 @@ # command: apachectl -k graceful # when: calibreweb_enabled -- name: Disable calibre-web service +- name: Disable 'calibre-web' service systemd: name: calibre-web daemon_reload: yes @@ -109,7 +109,7 @@ state: stopped when: not calibreweb_enabled -- name: Disable http://box/calibre-web with Apache +- name: Disable http://box{{ calibreweb_url }} with Apache command: a2dissite calibre-web.conf when: not calibreweb_enabled