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