Skip to content

Commit

Permalink
chore: cleanup README
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPsychick committed May 22, 2022
1 parent 3964522 commit 5fa7dcb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ cd macdev
## configure it
* use `host_vars/localhost-example.yml` as a base and en-/disable roles, add/remove packages to install via pip or homebrew ...
* save it as `host_vars/localhost.yml` to enable it
* OR (see below): provide a URL to download your config from: `-e config_url=http://raw.githubusercontent.com/DrPsychick/macdev/master/host_vars/localhost-example.yml`

```shell
cp host_vars/localhost-example.yml host_vars/localhost.yml
Expand All @@ -41,7 +42,11 @@ open -e host_vars/localhost.yml
```

## run it
`ansible-playbook macdev.yml`
```shell
ansible-playbook macdev.yml
# OR with config URL (must re-run after download)
ansible-playbook macdev.yml -e config_url=http://raw.githubusercontent.com/DrPsychick/macdev/master/host_vars/localhost-example.yml
```

## maintain it
You want to install a new package? Edit your `host_vars/localhost.yml`, then simply run your alias `updatemac` (see `host_vars/localhost-example.yml`) or the above command.
Expand Down
8 changes: 4 additions & 4 deletions host_vars/localhost-drpsychick-jones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ brew_cask_packages:
- { name: atom, path: /Applications/Atom.app }
- { name: slack, path: /Applications/Slack.app }
- { name: macpass, path: /Applications/MacPass.app }
- { name: zoomus, path: /Applications/zoom.us.app }
- { name: zoom, path: /Applications/zoom.us.app }
#- { name: openoffice, path: /Applications/OpenOffice.app }
#- { name: libreoffice, path: "/Applications/LibreOffice.app" }
#- { name: gimp, path: /Applications/Gimp-2.10.app }
Expand All @@ -140,7 +140,7 @@ brew_cask_packages:
#- { name: virtualbox-extension-pack, path: "{{ brew_prefix }}/Caskroom/virtualbox-extension-pack/6.1.28/Oracle_VM_VirtualBox_Extension_Pack-6.1.28.vbox-extpack" }
- { name: obsidian, path: "/Applications/Obsidian.app" }
- { name: mindforger, path: "/Applications/mindforger.app" }
- { name: moom, path: "/Applications/Moom.app" }
#- { name: moom, path: "/Applications/Moom.app" }
- { name: obs, path: "/Applications/OBS.app" }
- { name: obs-virtualcam, path: "{{ brew_prefix }}/Caskroom/obs-virtualcam" }
#- { name: qdslrdashboard, path: "/Applications/qDslrDashboard.app" }
Expand All @@ -155,8 +155,8 @@ brew_cask_packages:
pip_packages:
- { name: yamale, path: "{{pip_bin}}/yamale" }
# - { name: kubernetes, path: "/lib/python3.9/site-packages/kubernetes" }
# - { name: ansible, path: /usr/local/bin/ansible }
# - { name: awscli, path: /usr/local/bin/aws }
# - { name: ansible, path: "{{pip_bin}}/ansible" }
# - { name: awscli, path: "{{pip_bin}}/aws" }

# supports .zip and .dmg
app_packages:

0 comments on commit 5fa7dcb

Please sign in to comment.