Skip to content

Instantly share code, notes, and snippets.

View tonythell's full-sized avatar

Tony Thell tonythell

View GitHub Profile
This is a walk through of this github repo: https://github.com/kurokobo/awx-on-k3s
Thanks to @kurokobo for making these steps. Check his github on the link above.
Links:
Rancher: https://rancher.com/docs/k3s/latest/en/
### My setup:
* VM - 6 vCPU / 10GB mem
* Rocky Linux 8

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

Recently, Everyday Hero has been doing a heap of work around the automation and provisioning of resources with AWS cloud services. This entails working frequently with the AWS API.

A useful filter we have been using in Ansible is taking output from a shell action and turning it into something we can consume via variables.

An example playbook is below:

@tonythell
tonythell / gist:f51be2948804d4137138
Created February 15, 2016 14:58 — forked from tankchintan/gist:1335220
Procedure for installing and setting Sun JDK Java on Default Amazon Linux AMI
# First verify the version of Java being used is not SunJSK.
java -version
# Get the latest Sun Java SDK from Oracle http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html
wget http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-i586.rpm
# Rename the file downloaded, just to be nice
mv jdk-7u1-linux-i586.rpm\?e\=1320265424\&h\=916f87354faed15fe652d9f76d64c844 jdk-7u1-linux-i586.rpm
# Install Java
@tonythell
tonythell / 0_reuse_code.js
Created November 5, 2015 12:23
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console