Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Avoid outputting password in service file #3

Merged
merged 1 commit into from
Sep 6, 2018
Merged

Avoid outputting password in service file #3

merged 1 commit into from
Sep 6, 2018

Conversation

nikosmeds
Copy link
Contributor

Currently passwords are displayed when making changes to mysqld_exporter.service file.

TASK [create mysqld-exporter user] ****************************************************************************************************
changed: [vm3_devstack]
--- before: /etc/systemd/system/mysqld_exporter.service
+++ after: /Users/nsmeds/.ansible/tmp/ansible-local-4523tmnoosfj/tmp3ak6s8a4/mysqld_exporter.service.j2
@@ -6,7 +6,7 @@
 Type=simple
 User=mysqld-exp
 Group=mysqld-exp
-Environment="DATA_SOURCE_NAME=prometheus:secret_password1@(localhost:3306)/"
+Environment="DATA_SOURCE_NAME=prometheus:secret_password2@(localhost:3306)/"
 ExecStart=/usr/local/bin/mysqld_exporter \
     --web.listen-address 0.0.0.0:9104 \

This should be prevented.

@paulfantom paulfantom merged commit dbe3b5e into cloudalchemy:master Sep 6, 2018
@lock
Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants