clean up naming for rename of calibre-web role

This commit is contained in:
eniad 2022-10-18 21:20:35 -04:00
parent 5896e2a009
commit 1769218a5e
4 changed files with 10 additions and 10 deletions

View file

@ -1,7 +1,7 @@
---
- name: Start Calibre Manager
- name: Start Calibre
block:
- name: Create Calibre Manager Directories
- name: Create Calibre Directories
file:
path: "{{ item }}"
state: directory
@ -39,9 +39,9 @@
traefik.http.services.calibre.loadbalancer.server.port: "8080"
when: calibre_enabled is true
- name: Stop Calibre Manager
- name: Stop Calibre
block:
- name: Stop Calibre Manager
- name: Stop Calibre
docker_container:
name: "{{ calibre_container_name }}"
state: absent

View file

@ -11,7 +11,7 @@
name: "{{ calibreweb_container_name }}"
register: result
- name: Check Calibre is running
- name: Check Calibre-web is running
assert:
that:
- result.container['State']['Status'] == "running"

View file

@ -6,13 +6,13 @@
- include_vars:
file: ../../defaults/main.yml
- name: Try and stop and remove Calibre
- name: Try and stop and remove Calibre-web
docker_container:
name: "{{ calibreweb_container_name }}"
state: absent
register: result
- name: Check Calibre is stopped
- name: Check Calibre-web is stopped
assert:
that:
- not result.changed

View file

@ -1,5 +1,5 @@
---
- name: Start Calibre
- name: Start Calibre-web
block:
- name: Create Calibre-web Directories
file:
@ -35,9 +35,9 @@
traefik.http.services.calibreweb.loadbalancer.server.port: "8083"
when: calibreweb_enabled is true
- name: Stop Calibre
- name: Stop Calibre-web
block:
- name: Stop Calibre
- name: Stop Calibre-web
docker_container:
name: "{{ calibreweb_container_name }}"
state: absent