1
0
Fork 0

specify an admin user

This commit is contained in:
Julian Foad 2023-11-04 15:46:06 +00:00
parent 1d479707f1
commit 3fb1b30721
2 changed files with 5 additions and 0 deletions

View file

@ -1,6 +1,8 @@
---
hedy_base_url: "http://localhost:8080/"
hedy_admin_user: ~
hedy_user_username: hedy
hedy_user_groupname: hedy
hedy_base_path: /home/hedy

View file

@ -27,6 +27,8 @@
- name: Hedy container running
community.docker.docker_container:
name: "hedy"
comparisons:
env: strict
image: "{{ hedy_docker_image }}"
pull: "{{ hedy_pull and hedy_docker_image.endswith(':latest') }}"
restart_policy: unless-stopped
@ -39,3 +41,4 @@
# https://github.com/hedyorg/hedy/wiki/Hedy-Development-Process#environment-variables
fix_for_weblate: "true"
save_snippet_hashes: "true"
ADMIN_USER: "{{ hedy_admin_user|default(omit,omit) }}"