: BaC now deploy automatically

This commit is contained in:
VC
2025-02-28 19:16:52 +01:00
parent e889260e12
commit ceeef38cf8
4 changed files with 17 additions and 0 deletions

11
roles/bac/tasks/main.yml Normal file
View File

@@ -0,0 +1,11 @@
---
- name: Install BaC application
ansible.builtin.unarchive:
remote_src: true
src: "{{ bac_url }}"
dest: "{{ bac_home }}"
owner: root
group: www-data
mode: "a-rwx,u+rwX,g+rX"
extra_opts: ['--strip-components=1']