diff --git a/deploy_application.yml b/deploy_application.yml new file mode 100644 index 0000000..31c61a6 --- /dev/null +++ b/deploy_application.yml @@ -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