Move telegraf_role.sh to postgres tools/sbin

This commit is contained in:
Mike Reeves
2026-05-14 16:18:01 -04:00
parent 450eacca41
commit 03fa01a705
3 changed files with 2 additions and 10 deletions
+2 -2
View File
@@ -104,13 +104,13 @@ postgres_telegraf_group_role:
postgres_telegraf_role_{{ u }}:
cmd.run:
- name: /usr/local/bin/telegraf_role.sh
- name: /usr/sbin/telegraf_role.sh
- env:
- ROLE_USER: {{ u }}
- ROLE_PASS: {{ p }}
- hide_output: True
- require:
- file: postgrestelegrafrole
- file: postgres_sbin
- cmd: postgres_telegraf_group_role
{% endif %}