Skip to content
Snippets Groups Projects
Commit 8932b33a authored by nimrod's avatar nimrod
Browse files

Ansible: Stop Am I Live notifications during updates.

parent 45340d67
No related branches found
No related tags found
No related merge requests found
Pipeline #3088 passed
......@@ -116,6 +116,18 @@
pkg_upgrade is changed or
fw_update is changed }}
- name: Stop Am I Live SMS notifications
hosts: all
tasks:
- name: Stop Am I Live SMS notifications
become: false
delegate_to: localhost
run_once: true
community.aws.aws_ssm_parameter_store:
name: &send_sms_param /amilive/prod/send_sms_notifications
state: present
value: "false"
- name: Reboot NS1
hosts:
- ns1
......@@ -151,3 +163,15 @@
reboot:
tags:
- reboot
- name: Resume Am I Live SMS notifications
hosts: all
tasks:
- name: Resume Am I Live SMS notifications
become: false
delegate_to: localhost
run_once: true
community.aws.aws_ssm_parameter_store:
name: *send_sms_param
state: present
value: "true"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment