chore: update

This commit is contained in:
2026-03-03 23:42:23 +01:00
parent 52b059fafa
commit 0073f80a48
95 changed files with 2720 additions and 40619 deletions
+15 -2
View File
@@ -1,6 +1,6 @@
---
- name: Installation et configuration du frontend et backend
hosts: all
hosts: uber-stup
become: true
gather_facts: true
@@ -94,7 +94,6 @@
owner: "{{ user_deploy }}"
group: "{{ user_deploy }}"
mode: "0755"
tags: backend
- name: Synchroniser le backend Go
ansible.builtin.synchronize:
@@ -111,6 +110,20 @@
recursive: yes
tags: backend
- name: Fix backend ownership after rsync (rsync tourne en root)
ansible.builtin.file:
path: "{{ backend_dir }}"
owner: "{{ user_deploy }}"
group: "{{ user_deploy }}"
recurse: yes
tags: backend
- name: Remove old binary if owned by another user
ansible.builtin.file:
path: "{{ backend_dir }}/main"
state: absent
tags: backend
- name: Compile backend as deploy user
become_user: "{{ user_deploy }}"
ansible.builtin.shell: |