Comments (1)
I had a similar problem. I solved it by encrypting the chat_id
with ansible-vault
in the repo. If you choose a strong password it should be no problem to store a secret in the repo.
How encrypted strings with ansible-vault
look like in your repo:
telegram_chat_id: !vault |
$ANSIBLE_VAULT;1.1;AES256
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
To create the ansible-vault
string I used:
set +o history
echo -n 'nobody_should_see_this' | ansible-vault encrypt_string
New Vault password:
Confirm New Vault password:
set -o history
I encrypted -111111111
with demo password mysecretpassword
:
user@machine:~$ echo -n '-111111111' | ansible-vault encrypt_string
New Vault password:
Confirm New Vault password:
Reading plaintext input from stdin. (ctrl-d to end input, twice if your content does not already have a newline)
Encryption successful
!vault |
$ANSIBLE_VAULT;1.1;AES256
36616365666234623530343532303531383033303563646133373730373862633836376461313531
6333653435383465303830396238343865336138643031380a393933656234356239376638343138
30663439393334336264303266383266343963383130303936323561373566623130393730326232
3435346637303065310a646361363833376461396635666233633066336438646138306465306337
6564
from alertmanager.
Related Issues (20)
- MSTeams integration message cards actions not supported
- notify don't send alert
- > The alert list looks like a staircase because it is dependent on the name of the receiver HOT 1
- PagerDuty alerts are stuck if I mute the alert after it's firing but before it's resolved HOT 3
- Discord integration: no possibility to configure the webhook content object
- Heartbeat (Webhook) stuck after opsgenie connection issue
- Feature: Instrument Alertmanager for distributed tracing HOT 2
- Request: Add topic_id as an optional parameter to telegram_config HOT 8
- go package Vulnerabilities observed in alertmanager
- When the alarm is restored, the unrecovered alarms will be issued together
- email sent per peer
- Alert manager possible dead lock HOT 1
- Grafana 7.5.17 can not added alertmanager table HOT 1
- Sending over-simple DeduplicationId to FIFO type AWS SNS dropped "resolved" message
- Problem with Alertmanager configuration HOT 1
- alertmanager.config.global.http_config.no_proxy is invalid HOT 1
- [FR] Add config option to skip cert validation/verification for SMTP HOT 5
- SMTP Authentication unsuccessful when using auth_password_file HOT 1
- Premature alert resolution HOT 5
- Missing a way to use time.Since and pretty format duration in templates HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alertmanager.