Let's try adding shell.nix
parent
49a9890ba1
commit
553b1a11b8
16
README.md
16
README.md
|
@ -1,14 +1,16 @@
|
||||||
# ansible
|
# ansible
|
||||||
|
|
||||||
Configuration through [Ansible](https://ansible.com) for my main laptop.
|
Configuration through [Ansible](https://ansible.com) for my development environment(s).
|
||||||
|
|
||||||
## Start
|
Clone & execute the main playbook locally: `ansible-playbook run.yml -K`
|
||||||
|
|
||||||
1. `curl https://git.earne.link/earnestma/ansible/raw/branch/main/ensure.sh | sh`
|
You will need to set SELinux to permissive and install nix first:
|
||||||
2. Clone the repository and enter it
|
|
||||||
3. Execute the main playbook: `ansible-playbook run.yml -K`
|
|
||||||
|
|
||||||
Other playbooks:
|
```bash
|
||||||
|
sudo setenforce 0
|
||||||
|
sh <(curl -L https://nixos.org/nix/install) --daemon
|
||||||
|
nix-shell
|
||||||
|
```
|
||||||
|
|
||||||
- Run usual updates: `ansible-playbook update.yml -K`
|
- Run usual updates: `ansible-playbook update.yml -K`
|
||||||
|
|
||||||
|
@ -16,6 +18,8 @@ Other playbooks:
|
||||||
|
|
||||||
- `git config core.hooksPath .git-hooks`
|
- `git config core.hooksPath .git-hooks`
|
||||||
|
|
||||||
|
TODO(earne): Remove this/ update
|
||||||
|
|
||||||
## After first time run
|
## After first time run
|
||||||
|
|
||||||
- Restore all/ specific files (e.g. those with secrets) from a backup, if needed
|
- Restore all/ specific files (e.g. those with secrets) from a backup, if needed
|
||||||
|
|
Loading…
Reference in New Issue