add registry role

This commit is contained in:
2022-10-10 23:15:28 +02:00
parent 28f46dc9f0
commit 234e9b6395
15 changed files with 252 additions and 4 deletions

View File

@@ -7,17 +7,17 @@
- name: Deploy database postgresql and redis
ansible.builtin.import_tasks: deploy-db.yml
tags: ["start-with-deploy", "deploy"]
tags: ["create-db", "deploy-db"]
- name: Start db postgresql and redis
ansible.builtin.import_tasks: start-db.yml
tags: ["start-with-deploy", "start"]
tags: ["deploy-db", "start-db"]
- name: stop db postgresql and redis
ansible.builtin.import_tasks: stop-db.yml
tags: ["destroy", "stop"]
tags: ["destroy-db", "stop-db"]
- name: Remove db
ansible.builtin.import_tasks: remove-db.yml
tags: ["destroy"]
tags: ["destroy-db"]

View File

@@ -3,6 +3,7 @@
- name: Stopping existing service
community.docker.docker_compose:
project_src: /home/valentin/db
state: absent
- name: Starting service
community.docker.docker_compose: