-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding observability Strategy tests and fixing typo in Prometheus URL variable in test_alerts #40
Conversation
Removing prom_host Addin prom_url
Fixing typo in prometheus URL varibale in test_alerts
changed_when: false | ||
|
||
|
||
- name: "Verify that Prometheus object didn't respawn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: "Verify that Prometheus object didn't respawn" | |
- name: "Verify that Prometheus pod didn't respawn" |
changed_when: false | ||
|
||
|
||
- name: "Verify that Alertmanager object didn't respawn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: "Verify that Alertmanager object didn't respawn" | |
- name: "Verify that Alertmanager pod didn't respawn" |
changed_when: false | ||
|
||
|
||
- name: "Verify that elasticsearch object didn't respawn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: "Verify that elasticsearch object didn't respawn" | |
- name: "Verify that elasticsearch pod didn't respawn" |
|
||
|
||
- name: "Wait 2 minutes before checking that pods didn't return" | ||
ansible.builtin.shell: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an ansible module for this if you prefer https://docs.ansible.com/ansible/latest/collections/ansible/builtin/pause_module.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.