thomas-maurice / ansible-role-gitea

Ansible role to deploy a Gitea instance
https://galaxy.ansible.com/thomas_maurice/ansible_role_gitea
BSD 3-Clause "New" or "Revised" License
92 stars 44 forks source link

dublicated entries in config #94

Open DO1JLR opened 3 years ago

DO1JLR commented 3 years ago

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 commented 3 years ago

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

quotengrote commented 2 years ago

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 commented 1 year ago

See #114