Skip to content

Commit 359159f

Browse files
authored
Update pmm-framework.py (#85)
Fix envars override issue. This is a know issue in ansible runner.
1 parent 8cab71a commit 359159f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pmm_qa/pmm-framework.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ def run_ansible_playbook(playbook_filename, env_vars, args):
8686
playbook=playbook_path,
8787
inventory='127.0.0.1',
8888
cmdline='-l localhost, --connection=local',
89-
envvars=env_vars
89+
envvars=env_vars,
90+
suppress_env_files=True
9091
)
9192

9293
print(f'{playbook_filename} playbook execution {r.status}')

0 commit comments

Comments
 (0)