From 0abe37c888de6cc0b97f89b8f9d9f43d9d7be70c Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 26 Sep 2022 21:06:39 +0200 Subject: [PATCH] Update README --- README.md | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 382dc65..44fb180 100644 --- a/README.md +++ b/README.md @@ -1,40 +1,23 @@ # Prerequisites -Only [ansible][] is required for installing the dotfiles. +[git-crypt][] and [gpg][] are needed to decrypt sensitive information +in the repository. -_NOTE:_ [git-crypt][] and [gpg][] are needed to decrypt sensitive information -in the repository, but these are installed by the [ansible -playbook](local.yml). - -[ansible]: https://www.ansible.com [git-crypt]: https://github.com/AGWA/git-crypt [gpg]: https://gnupg.org -## Install ansible on Linux - -```bash -sudo apt install -y ansible -``` - -## Install ansible on macOS - -```bash -brew install ansible -``` - # Installation Steps: 1. Clone the repo. -1. Play the `local.yml` ansible playbook. 1. Decrypt key & initialize git-crypt to access sensitive data. - +1. Run `install.sh` Gimme the code: ```bash 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 - +./install.sh ```