Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wbh1/setup_pc
Ansible playbook to setup a new PC with what I need
https://github.com/wbh1/setup_pc
Last synced: about 1 month ago
JSON representation
Ansible playbook to setup a new PC with what I need
- Host: GitHub
- URL: https://github.com/wbh1/setup_pc
- Owner: wbh1
- License: mit
- Created: 2020-04-13T17:06:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-16T14:13:00.000Z (11 months ago)
- Last Synced: 2024-01-16T22:07:47.263Z (11 months ago)
- Language: Shell
- Size: 155 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SETUP_PC
This is an Ansible playbook + roles intended to be run against a local machine in order to configure/install things that I commonly use / require on any of my laptops.Before running, it is presumed that you have installed Ansible (not just `ansible-core` -- you need the extra collections from the `ansible` package).
## Running
```bash
# Install role deps
# ansible-galaxy install -r roles/requirements.yml --roles-path ./rolesansible-playbook playbook.yml -K
```## Compatability
Some things are only compatible with Mac. I'm trying to achieve parity with it and Linux, but it's a work in progress.For my Framework laptop with a fingerprint reader, you must use a different `become-method` in order to work around the fingerprint reader's PAM module not allowing for the password being passed by `ansible-playbook`.
```bash
ansible-playbook --become-method=su -K playbook.yml
```Alternatively, you can disable the PAM module temporarily in Fedora:
```bash
sudo authselect disable-feature with-fingerprint
```## Sources
- [dircolors](https://github.com/seebi/dircolors-solarized)