ansible-role-gitea icon indicating copy to clipboard operation
ansible-role-gitea copied to clipboard

dublicated entries in config

Open DO1JLR opened this issue 3 years ago • 3 comments

https://github.com/thomas-maurice/ansible-role-gitea/blob/4dfd30306104ada0c38f126d39a3727b1739713d/templates/gitea.ini.j2#L56-L68

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 avatar Apr 11 '21 13:04 DO1JLR

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

DO1JLR avatar Apr 11 '21 20:04 DO1JLR

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.                                                                                                                                                 

quotengrote avatar Jan 10 '22 08:01 quotengrote

See #114

DO1JLR avatar Jul 23 '23 20:07 DO1JLR