Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dublicated entries in config #94

Open
DO1JLR opened this issue Apr 11, 2021 · 3 comments
Open

dublicated entries in config #94

DO1JLR opened this issue Apr 11, 2021 · 3 comments

Comments

@DO1JLR
Copy link
Contributor

DO1JLR commented Apr 11, 2021

{% if gitea_lfs_server_enabled | bool -%}
;Enables git-lfs support.
LFS_START_SERVER = true
; Where to store LFS files.
LFS_CONTENT_PATH = {{ gitea_lfs_content_path }}
; LFS authentication secret
LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret }}
{% endif %}
LFS_CONTENT_PATH = {{ gitea_lfs_content_path }}
; if the LFS sotre is not offline/local
LFS_JWT_SECRET = {{ gitea_lfs_secret }}
OFFLINE_MODE = {{ gitea_lfs_mode }}

LFS_CONTENT_PATH and LFS_JWT_SECRET appear multiple times in the config.

And there are different ansible variables that will define the same secret (LFS_JWT_SECRET)

@DO1JLR
Copy link
Contributor Author

DO1JLR commented Apr 11, 2021

can probably be fixed together with issue #96, since it affects similar file sections.

@quotengrote
Copy link

Yep, still happens...

> ansible-playbook playbooks/3_service/gitea.yml --limit prod*
[WARNING]: While constructing a mapping from /home/mg/ansible/roles/tmaurice.gitea/defaults/main.yml, line 2, column 1, found a duplicate dict key (gitea_lfs_content_path). Using last defined value only.                                                                                                                                                 

@DO1JLR
Copy link
Contributor Author

DO1JLR commented Jul 23, 2023

See #114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants