Merge pull request '✏️ host: tau: Fix misleading task name' (#510) from docker-registry into master
Reviewed-on: Netz39_Admin/netz39-infra-ansible#510 Reviewed-by: Stefan Haun <tux@netz39.de>
This commit is contained in:
commit
40ae8191f2
1 changed files with 3 additions and 3 deletions
|
@ -86,11 +86,11 @@
|
|||
- name: Check if Docker Registry auth dir exists
|
||||
ansible.builtin.stat:
|
||||
path: "{{ data_dir }}/registry/auth"
|
||||
register: docker_dir
|
||||
- name: Fail if docker registry data dir does not exist
|
||||
register: docker_registry_auth_dir
|
||||
- name: Fail if Docker Registry auth dir does not exist
|
||||
ansible.builtin.fail:
|
||||
msg: "Docker Registry auth dir is missing, please restore from the backup!"
|
||||
when: not docker_dir.stat.exists
|
||||
when: not docker_registry_auth_dir.stat.exists
|
||||
- name: Ensure the Docker Registry data directory exists
|
||||
# This may not be part of the backup
|
||||
ansible.builtin.file:
|
||||
|
|
Loading…
Add table
Reference in a new issue