Application deployed
This commit is contained in:
16
deploy_application.yml
Normal file
16
deploy_application.yml
Normal 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
|
||||||
Reference in New Issue
Block a user