23 lines
498 B
YAML

---
# tasks file for server
# include task db
- name: Deploy database postgresql and redis
ansible.builtin.import_tasks: deploy-db.yml
tags: ["create-db", "deploy-db"]
- name: Start db postgresql and redis
ansible.builtin.import_tasks: start-db.yml
tags: ["deploy-db", "start-db"]
- name: stop db postgresql and redis
ansible.builtin.import_tasks: stop-db.yml
tags: ["destroy-db", "stop-db"]
- name: Remove db
ansible.builtin.import_tasks: remove-db.yml
tags: ["destroy-db"]