title | author | date | categories | images | ||
---|---|---|---|---|---|---|
The Ultimate Guide to JSON in Go |
Lane Wagner |
2021-04-28 |
|
|
---------------------------------------------------------------------------------------------------------------------- | |
# Not inventory, remote passwordless ssh connection | |
[clients] | |
control01 ansible_host=192.168.45.10 ansible_connection=ssh ansible_ssh_port=22 ansible_ssh_private_key_file=/home/vagrant/.ssh/id_rsa ansible_user=vagrant | |
#vagrant-client01 ansible_host=10.10.40.94 ansible_ssh_private_key_file='.vagrant/machines/vagrant-client01/virtualbox/private_key' ansible_connection=local ansible_ssh_user='vagrant' | |
[all:vars] | |
ansible_python_interpreter=/usr/bin/python3 | |
---------------------------------------------------------------------------------------------------------------------- | |
# Running a playbook in dry-run mode |
Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
This is a document describing how to install Ubuntu 16.04 LTS on ThinkPad T470s.
- CPU: Intel Core i7-7600U (2.80GHz, 4MB cache)
- Graphics: Intel HD Graphics 620
- Display: 14” WQHD (2560 X 1440) IPS Non-Touch Anti-Glare
- Memory: 24GB DDR4 2133 MHz (8GB Onboard + 16GB)
- SSD: PCIe-NVMe 256G OPAL 2.0
- Wireless: Intel Dual Band Wireless AC (2x2) 8265 Bluetooth 4.1
- Fingerprint Reader
A quick note on how I'm currently handling Blue/Green or A/B deployments with Terraform and AWS EC2 Auto Scaling.
In my particular use case, I want to be able to inspect an AMI deployment manually before disabling the previous deployment.
Hopefully someone finds this useful, and if you have and feedback please leave a comment or email me.
I build my AMI's using Packer and Ansible.
namespace :rails do | |
desc 'Remote rails console' | |
task :console, roles: :app do | |
run_interactively "rails console #{rails_env}" | |
end | |
desc 'Remote dbconsole' | |
task :dbconsole, roles: :app do | |
run_interactively "rails dbconsole #{rails_env}" | |
end |