mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-12 13:19:22 +02:00
Quote telegraf role env vars to survive YAML-special chars in passwords
This commit is contained in:
@@ -70,8 +70,8 @@ postgres_telegraf_role_{{ u }}:
|
||||
cmd.run:
|
||||
- name: /usr/sbin/so-telegraf-postgres user
|
||||
- env:
|
||||
- ROLE_USER: {{ u }}
|
||||
- ROLE_PASS: {{ p }}
|
||||
- ROLE_USER: {{ u | tojson }}
|
||||
- ROLE_PASS: {{ p | tojson }}
|
||||
- hide_output: True
|
||||
- require:
|
||||
- file: postgres_sbin
|
||||
|
||||
Reference in New Issue
Block a user