From 5fa7dcb154c686d2e75f86b4ae8a6c2ec5fba66d Mon Sep 17 00:00:00 2001 From: DrPsychick Date: Mon, 23 May 2022 00:28:27 +0200 Subject: [PATCH] chore: cleanup README --- README.md | 7 ++++++- host_vars/localhost-drpsychick-jones.yml | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 78f0132..24421b4 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. diff --git a/host_vars/localhost-drpsychick-jones.yml b/host_vars/localhost-drpsychick-jones.yml index d771915..765fad3 100644 --- a/host_vars/localhost-drpsychick-jones.yml +++ b/host_vars/localhost-drpsychick-jones.yml @@ -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 } @@ -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" } @@ -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: