Files
bab-backend-ansible/deploy_application.yml
2023-12-02 14:53:01 -05:00

17 lines
435 B
YAML

---
- name: Deploy BAB Frontend Application
hosts: bab1.mgmt.toal.ca
become: true
tasks:
- name: Ensure rsync is installed on RHEL9 host
ansible.builtin.package:
name: rsync
state: present
- name: Synchronize local directory to remote, deleting missing files
ansible.posix.synchronize:
src: '{{ bab_app_build_output_dir }}'
dest: '{{ bab_app_webroot }}'
delete: true