update README
This commit is contained in:
parent
85570319f3
commit
3e9fa8abe5
1 changed files with 2 additions and 8 deletions
10
README.md
10
README.md
|
@ -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 -
|
||||
|
|
Loading…
Add table
Reference in a new issue