Skip to content

Commit

Permalink
Merge branch 'main' into rel-190
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemental committed May 2, 2024
2 parents 614b67b + 3c05865 commit 8203a19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/362-plugin-umask.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- Set umask for `grafana_plugin` command
2 changes: 1 addition & 1 deletion plugins/modules/grafana_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def grafana_plugin(module, params):
else:
cmd = "{0} uninstall {1}".format(grafana_cli, params["name"])

rc, stdout, stderr = module.run_command(cmd)
rc, stdout, stderr = module.run_command(cmd, umask=0o0022)
if rc == 0:
stdout_lines = stdout.split("\n")
for line in stdout_lines:
Expand Down

0 comments on commit 8203a19

Please sign in to comment.