Skip to content

Instantly share code, notes, and snippets.

View kaizenjegan's full-sized avatar
💭
Sitting on a cloud

Jegan Matthews kaizenjegan

💭
Sitting on a cloud
View GitHub Profile
@kaizenjegan
kaizenjegan / pedantically_commented_playbook.yml
Created July 17, 2019 00:10 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
@kaizenjegan
kaizenjegan / clean_code.md
Created June 26, 2019 21:08 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@kaizenjegan
kaizenjegan / linebreak.md
Created April 1, 2019 20:43
Line breaks in markdown
Hello  (<-- two spaces)
World

Hello
World


@kaizenjegan
kaizenjegan / ansible-summary.md
Created June 7, 2018 22:14 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of