Skip to content

Instantly share code, notes, and snippets.

View karthikvee's full-sized avatar

Karthik V karthikvee

View GitHub Profile
@karthikvee
karthikvee / ansible_variable_precedence.md
Created May 9, 2018 09:53 — forked from ekreutz/ansible_variable_precedence.md
Ansible variable precedence (order, hierarchy)
@karthikvee
karthikvee / email.sh
Created June 6, 2016 06:07 — forked from fuzzmz/email.sh
Script to send email on Debian based server at shutdown and restart.
#!/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