Skip to content
Snippets Groups Projects
Commit 6bae8b90 authored by Baptiste DE RENZO's avatar Baptiste DE RENZO
Browse files

Merge branch 't34713-allow-override-confsh' into 'main'

Allow override confsh, Refs #34713

See merge request sys/ansible-public!6
parents dcc29015 acd0101c
Branches master stable
No related tags found
No related merge requests found
......@@ -100,6 +100,18 @@
stat:
path: "{{ conf_dir }}/auto-generated-conf.sh"
# confsh:
# tester_ignored_test: 'test_mediaworker.py'
# envsetup_branch: 'master'
- name: override envsetup variables in conf.sh file
lineinfile:
path: "{{ conf_dir }}/conf.sh"
line: "{{ item.key | upper }}={{ item.value }}"
regexp: '^{{ item.key | upper }}='
create: true
loop: "{{ confsh | dict2items }}"
when: confsh is defined
- name: check if conf.sh exists
check_mode: false
register: check_local_conf
......
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