forked from geerlingguy/mac-dev-playbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include dockutil: geerlingguy#106 Include bootstrap from geerlingguy#96 (comment) Use osx_defaults module: geerlingguy#79
- Loading branch information
1 parent
cba70eb
commit 35c5406
Showing
23 changed files
with
952 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# These are supported funding model platforms | ||
--- | ||
github: geerlingguy | ||
patreon: geerlingguy | ||
github: StephenBrown2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
.DS_Store | ||
*.retry | ||
roles* | ||
.cache | ||
config.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/usr/bin/env bash | ||
|
||
#set -eoup | ||
|
||
function mac::ensure-upstream() { | ||
if [ ! -d mac-dev-playbook ]; then | ||
git clone https://github.com/geerlingguy/mac-dev-playbook | ||
cd mac-dev-playbook | ||
git remote rename origin upstream | ||
else | ||
cd mac-dev-playbook | ||
git fetch --all | ||
git rebase upstream master | ||
cd - | ||
fi | ||
} | ||
|
||
function mac::ensure-dependencies() { | ||
xcode-select --install || true | ||
/usr/bin/env bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
brew install ansible mas | ||
ansible-galaxy install -r requirements.yml | ||
} | ||
|
||
function mac::apply() { | ||
# cd mac-dev-playbook | ||
# [ ! -f config.yml ] && ln -s ../config.yml . | ||
ansible-playbook main.yml -i inventory --ask-become-pass | ||
} | ||
|
||
function mac::setup() { | ||
mac::ensure-dependencies | ||
# mac::ensure-upstream | ||
mac::apply | ||
} |
Oops, something went wrong.