Don't inject facts as vars
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user