First of I want to check that I have all the latest packages in my debian system.
apt update
apt upgrade
| A Self-Documenting Makefile: http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html |
| # HELP | |
| # This will output the help for each task | |
| # thanks to https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html | |
| .PHONY: help | |
| RANDOM := $(shell /bin/bash -c "cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 6 | head -n 1") | |
| help: ## This help. | |
| @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) |
| user www-data; | |
| pid /run/nginx.pid; | |
| worker_processes auto; | |
| worker_rlimit_nofile 40000; | |
| include /etc/nginx/modules-enabled/*.conf; | |
| events { | |
| worker_connections 8192; | |
| } |
| syntax on | |
| filetype plugin indent on | |
| set shiftwidth=2 | |
| set tabstop=2 | |
| set nocompatible | |
| set expandtab | |
| set smarttab | |
| set autoindent | |
| set nu |
| --- | |
| - name: dump all | |
| hosts: all | |
| gather_facts: false | |
| tasks: | |
| - name: debug | vars | |
| debug: | |
| var: vars | |
| - name: debug | environment |
| # HELP | |
| # This will output the help for each task | |
| # thanks to https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html | |
| .PHONY: help | |
| help: ## This help. | |
| @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) | |
| .DEFAULT_GOAL := help |
After factory resetting the maching you will need to do the following things to bootstrap it with Ansible.
chsh -s /bin/bash (optional)xcode-select --installexport PATH="$HOME/Library/Python/3.8/bin:$PATH"| # Run a command and present a spiiner whilst it completes | |
| # | |
| apt-get update -qq & # important to background command | |
| pid=$! # get PID of backgrounded task | |
| spin[0]="-" | |
| spin[1]="\\" | |
| spin[2]="|" | |
| spin[3]="/" |
| --- | |
| name: minio | |
| releases: | |
| - name: minio | |
| version: latest | |
| stemcells: | |
| - alias: default | |
| os: ubuntu-trusty |