Skip to content
Snippets Groups Projects
Commit b803d923 authored by Antoine SCHILDKNECHT's avatar Antoine SCHILDKNECHT
Browse files

Merge branch 't39072-tester-empty-values' into 'main'

Allow empty strings in vars values | refs #39072

See merge request sys/ansible-public!69
parents 84048327 abb4ba72
No related branches found
No related tags found
No related merge requests found
......@@ -16,12 +16,11 @@
regexp: '^(\s*)#?{{ item.name }}:(\s*).*$'
replace: '\1{{ item.name }}:\2{{ item.value }}'
loop:
- { name: 'name', value: '"{{ tester_system_name | d() }}"' } # noqa: yaml[commas]
- { name: 'token', value: '"{{ repos_ubicast_packages_token | d() }}"' } # noqa: yaml[commas]
- { name: 'from', value: '"{{ tester_email_from | d() }}"' } # noqa: yaml[commas]
- { name: 'to', value: '"{{ tester_email_to | d() }}"' } # noqa: yaml[commas]
- { name: 'admin', value: '"{{ tester_email_admin | d() }}"' } # noqa: yaml[commas]
- { name: 'ignored', value: '{{ tester_tests_ignored | d() }}' }
when: item.value != "" and item.value != '""'
- { name: 'name', value: '"{{ tester_system_name }}"' } # noqa: yaml[commas]
- { name: 'token', value: '"{{ repos_ubicast_packages_token }}"' } # noqa: yaml[commas]
- { name: 'from', value: '"{{ tester_email_from }}"' } # noqa: yaml[commas]
- { name: 'to', value: '"{{ tester_email_to }}"' } # noqa: yaml[commas]
- { name: 'admin', value: '"{{ tester_email_admin }}"' } # noqa: yaml[commas]
- { name: 'ignored', value: '{{ tester_tests_ignored }}' }
...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment