projects
/
pennestraat-domotica
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a225f8
)
ansible: set safe directory on domotica checkout
author
Kristof Provost
<kp@FreeBSD.org>
Tue, 11 Feb 2025 09:29:33 +0000
(10:29 +0100)
committer
Kristof Provost
<kp@FreeBSD.org>
Tue, 11 Feb 2025 09:29:33 +0000
(10:29 +0100)
Otherwise git complains about file ownership (after the www user creates a DB, I
believe) and we can't re-apply the playbook.
ansible/roles/domotica/tasks/domotica.yaml
patch
|
blob
|
history
diff --git
a/ansible/roles/domotica/tasks/domotica.yaml
b/ansible/roles/domotica/tasks/domotica.yaml
index
a13408b
..
cea5013
100644
(file)
--- a/
ansible/roles/domotica/tasks/domotica.yaml
+++ b/
ansible/roles/domotica/tasks/domotica.yaml
@@
-1,3
+1,6
@@
+- name: UPDATE - Safe Directory
+ command: git config --global --add safe.directory /home/kp/domotica
+ check_mode: no
- name: Install domotica app
ansible.builtin.git:
repo: 'https://github.com/kprovost/domotica.git'