Files
Workstation/README.md
ducoterra 0477970c78 Move README, arch.md, and framework.md
Rework documentation and consolidate all framework docs into a
framework_manjaro file. README is only for ansible now.
2022-02-10 11:33:26 -05:00

34 lines
584 B
Markdown

# Workstation
Workstation configuration, tool lists, and eventually ansible playbooks
## Ansible
https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html
Setup
```bash
pip install --user ansible
```
Run an ad-hoc command
```bash
ansible pi -i hosts --become-method=sudo --ask-become-pass --become -a "apt update"
```
Run a playbook
```bash
ansible-playbook -i hosts --ask-become-pass playbooks/pi.yaml
```
Run the manjaro playbook
NOTE: Restore home directory and __REBOOT__ first
```bash
ansible-playbook --ask-become-pass ansible/setup-full.yml
```