2022-01-23 21:43:00 -05:00
|
|
|
# ansible
|
|
|
|
|
2022-07-02 12:02:10 -04:00
|
|
|
Configuration through [Ansible](https://ansible.com) for my development environment(s).
|
2022-01-23 21:43:00 -05:00
|
|
|
|
2022-07-02 12:02:10 -04:00
|
|
|
Clone & execute the main playbook locally: `ansible-playbook run.yml -K`
|
2022-01-23 21:43:00 -05:00
|
|
|
|
2022-07-02 12:02:10 -04:00
|
|
|
You will need to set SELinux to permissive and install nix first:
|
2022-01-28 15:12:41 -05:00
|
|
|
|
2022-07-02 12:02:10 -04:00
|
|
|
```bash
|
|
|
|
sudo setenforce 0
|
|
|
|
sh <(curl -L https://nixos.org/nix/install) --daemon
|
|
|
|
nix-shell
|
|
|
|
```
|
2022-01-30 17:55:18 -05:00
|
|
|
|
|
|
|
- Run usual updates: `ansible-playbook update.yml -K`
|
2022-01-28 15:12:41 -05:00
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
- `git config core.hooksPath .git-hooks`
|
2022-01-28 12:46:51 -05:00
|
|
|
|
2022-07-02 12:02:10 -04:00
|
|
|
TODO(earne): Remove this/ update
|
|
|
|
|
2022-01-28 12:46:51 -05:00
|
|
|
## After first time run
|
|
|
|
|
2022-01-30 17:55:18 -05:00
|
|
|
- Restore all/ specific files (e.g. those with secrets) from a backup, if needed
|
2022-01-28 15:12:41 -05:00
|
|
|
- Dotfiles
|
|
|
|
- Grab ssh, gpg, and pash folder (from backup/existing device)
|
|
|
|
- Any config file that contains secrets? (eg aerc's accounts.conf, wakatime/wakapi, mbsync, etc.??)
|
|
|
|
- Restart!
|
|
|
|
- Configure and run backups!
|
2022-01-30 17:55:18 -05:00
|
|
|
- configure GUI apps as needed! `Fresh_install_apps_config.md`
|