TBeijen / ansible-osx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible OS-X home setup

Prerequisites

  • Set up ssh private key for git pull
  • Install ansible
# SSH setup
#
mkdir ~/.ssh
chmod 0700 ~/.ssh
# (illustrative purposes, download key and check permissions)
touch ~/.ssh/id_ed25519
chmod 0600 ~/.ssh/id_ed25519 

# Ansible
# See: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installation-guide
#
python3 -m pip install --user ansible

# Update path
export PATH="$HOME/Library/Python/3.9/bin:$PATH"

Usage

git clone git@github.com:TBeijen/ansible-osx.git
cd ansible-osx
ansible-playbook osx.yaml

TODO:

  • Configure git using ansible
git config --global commit.gpgsign true
git config --global user.signingkey 058FED1DA5DDA152

Adding to ~/.gitconfig:

[include]
	path = ~/dotfiles/common/.gitconfig

[includeIf "gitdir:~/projects/<client>/"]
	path = ~/.gitconfig-<client>

Example ~/.gitconfig-<client>:

[user]
	name = Tibo Beijen
	email = tibo.beijen@<client-domain
	signingkey = 123FOOBAR

Figure out why appstore tailscale works and brew tailscale 'hangs'

References:

PGP

Minikube

About

License:MIT License


Languages

Language:Jinja 100.0%