Application deployed

This commit is contained in:
2023-12-02 14:53:01 -05:00
parent d5524a6b06
commit 3dbbe70f9e

16
deploy_application.yml Normal file
View File

@@ -0,0 +1,16 @@
---
- 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