update README

This commit is contained in:
Fernando Schauenburg 2020-12-23 04:16:49 +00:00
parent 85570319f3
commit 3e9fa8abe5

View file

@ -13,8 +13,7 @@ playbook](local.yml).
## Install ansible on Linux
```bash
sudo apt install -y python3
pyhton3 -m pip install ansible
sudo apt install -y ansible
```
## Install ansible on macOS
@ -26,9 +25,6 @@ brew install ansible
# Installation
Steps:
1. Create an SSH key with (e.g. with
`ssh-keygen -t ed25519 -C "$(whoami)@$(hostname)"`) and register it.
1. Add a preliminary `~/.ssh/config` to reach `git.schauenburg.me` at the correct port.
1. Clone the repo.
1. Play the `local.yml` ansible playbook.
1. Decrypt key & initialize git-crypt to access sensitive data.
@ -36,9 +32,7 @@ Steps:
Gimme the code:
```bash
ssh-keygen -t ed25519 -C "$(whoami)@$(hostname)"
echo -e "Host git.schauenburg.me\nUser git\nPort 587" >>~/.ssh/config
git clone git@git.schauenburg.me:fernando/dotfiles.git $HOME/.dotfiles
git clone https://git.schauenburg.me/fernando/dotfiles.git $HOME/.dotfiles
cd $HOME/.dotfiles
ansible-playbook local.yml
gpg -d --output - <(base64 -d .key) | git crypt unlock -