add registry role
This commit is contained in:
@@ -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"]
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user