-
- Downloads
gitlab: Fix idempotence for compose file
Currently the gitlab container is recreated everytime time the playbook is running, even when no changes were made to gitlab itself. This is caused by the addition of a random "omit placeholder" that Ansible adds when using the `| default(omit)` filter instead of just leaving it empty. While alone, that works fine, within a value it stays there instead of becoming actually omitted and an empty string. As this random string changes on every run of Ansible, the environment variable in the compose file changes every run and this causes the recreation of the gitlab container. This patch removes the omit statement and replaces it with an empty string, which should solve the whole problem.
Please register or sign in to comment