1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Ansible_Project/roles/ansistrano.deploy/tasks/main.yml

39 lines
1.2 KiB
YAML
Raw Normal View History

2022-05-02 17:37:08 +02:00
---
- include_tasks: "{{ ansistrano_before_setup_tasks_file | default('empty.yml') }}"
- include_tasks: setup.yml
- include_tasks: "{{ ansistrano_after_setup_tasks_file | default('empty.yml') }}"
- include_tasks: "{{ ansistrano_before_update_code_tasks_file | default('empty.yml') }}"
- include_tasks: update-code.yml
- include_tasks: "{{ ansistrano_after_update_code_tasks_file | default('empty.yml') }}"
- include_tasks: "{{ ansistrano_before_symlink_shared_tasks_file | default('empty.yml') }}"
- include_tasks: symlink-shared.yml
- include_tasks: "{{ ansistrano_after_symlink_shared_tasks_file | default('empty.yml') }}"
- include_tasks: "{{ ansistrano_before_symlink_tasks_file | default('empty.yml') }}"
- include_tasks: symlink.yml
when: ansistrano_current_via == "symlink"
- include_tasks: rsync-deploy.yml
when: ansistrano_current_via == "rsync"
- include_tasks: "{{ ansistrano_after_symlink_tasks_file | default('empty.yml') }}"
- include_tasks: "{{ ansistrano_before_cleanup_tasks_file | default('empty.yml') }}"
- include_tasks: cleanup.yml
- include_tasks: "{{ ansistrano_after_cleanup_tasks_file | default('empty.yml') }}"
- include_tasks: anon-stats.yml
- include_tasks: funding.yml