Skip to content

Instantly share code, notes, and snippets.

Avatar

Karthik Veeragoni karthikvee

View GitHub Profile
@karthikvee
karthikvee / ansible_variable_precedence.md
Created May 9, 2018 — forked from ekreutz/ansible_variable_precedence.md
Ansible variable precedence (order, hierarchy)
View ansible_variable_precedence.md
@karthikvee
karthikvee / email.sh
Created Jun 6, 2016 — forked from fuzzmz/email.sh
Script to send email on Debian based server at shutdown and restart.
View email.sh
#!/bin/sh
### BEGIN INIT INFO
# Provides: SystemEmail
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Send email
# Description: Sends an email at system start and shutdown
### END INIT INFO