mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-26 02:05:05 +00:00
clean up naming for rename of calibre-web role
This commit is contained in:
parent
5896e2a009
commit
1769218a5e
4 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue