diff --git a/Fresh_install_apps_config.md b/Fresh_install_apps_config.md new file mode 100644 index 0000000..c46742d --- /dev/null +++ b/Fresh_install_apps_config.md @@ -0,0 +1 @@ +# Configuration notes for GUI apps after a fresh installation diff --git a/README.md b/README.md index 56339aa..ceb3020 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,26 @@ # ansible -Currently Ansible configurations for `ataraxia`, although if this goes well I'll bring it to Tycho/future devices. Please don't use :/ I may merge these into my [dotfiles repo](https://git.earne.link/earnestma/dotfiles). +Currently Ansible configurations for `ataraxia`, although I'll also apply them to Tycho & future devices. ## Start -- `sudo dnf install -y ansible` -- Execute main: `ansible-playbook run.yml -K` -- Development: `git config core.hooksPath .git-hooks` +1. Don't +2. `curl https://git.earne.link/earnestma/ansible/raw/branch/main/ensure.sh | sh` +3. Clone the repository and enter it +4. Execute the main playbook: `ansible-playbook run.yml -K` + +To run usual updates: `ansible-playbook update.yml -K` + +## Contributing + +- `git config core.hooksPath .git-hooks` ## After first time run -- grab ssh keys -- gpg folder -- pash folder? (^ from backup?) -- config file w/ secrets? (eg aerc's accounts.conf, wakatime/wakapi, mbsync, etc.??) -- backups configure -- run backups! -- configure GUI apps! (such as calibre/firefox/ etc., if not restored) +- Restore all/specific files from a backup, if needed +- 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! +- configure GUI apps! (such as calibre/firefox/etc., if not restored): `check Fresh_install_apps_config.md` diff --git a/ensure.sh b/ensure.sh index a476319..fadb7a9 100755 --- a/ensure.sh +++ b/ensure.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash -sudo dnf install -yq --refresh python ansible + +# For dotfiles/backups +sudo dnf install -yq git make restic stow + +# For ansible +sudo dnf install -yq python ansible ansible-galaxy collection install ansible.posix ansible-galaxy collection install community.general