Don't inject facts as vars

This commit is contained in:
2020-06-27 15:56:55 +02:00
parent bce3dc670b
commit 38b3239854
18 changed files with 73 additions and 72 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
; date: 2020-01-19
APP_NAME = codesignd Git
RUN_USER = {{ ansible_user_id }}
RUN_USER = {{ ansible_facts.user_id }}
RUN_MODE = prod
; Server settings
+2 -2
View File
@@ -1,5 +1,5 @@
[program:gitea]
command={{ ansible_env.HOME }}/.linuxbrew/bin/gitea web
environment=GITEA_WORK_DIR={{ ansible_env.HOME }}/gitea
command={{ ansible_facts.env.HOME }}/.linuxbrew/bin/gitea web
environment=GITEA_WORK_DIR={{ ansible_facts.env.HOME }}/gitea
autostart=yes
autorestart=yes