♻: move app data for bac
All checks were successful
ansible-lint / lint-everything (push) Successful in 3s

This commit is contained in:
VC
2025-03-09 13:31:37 +01:00
parent 5e17799aad
commit e1c48804d9
3 changed files with 16 additions and 3 deletions

View File

@@ -1,10 +1,23 @@
---
- name: Remove BaC previous version
ansible.builtin.file:
state: absent
dest: "{{ bac_app_home }}"
- name: Create app home
ansible.builtin.file:
state: directory
path: "{{ bac_app_home }}"
owner: root
group: www-data
mode: "a-rwx,u+rwX,g+rX"
- name: Install BaC application
ansible.builtin.unarchive:
remote_src: true
src: "{{ bac_url }}"
dest: "{{ bac_home }}"
dest: "{{ bac_app_home }}"
owner: root
group: www-data
mode: "a-rwx,u+rwX,g+rX"