From 6f7de81d571924c5cf9aeebd7a3fa453844fa0d5 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Tue, 30 Sep 2014 13:50:51 -0700 Subject: [PATCH] [meta] Add tasks for fixing up the Dock --- ansible/roles/osx/tasks/dock.yml | 7 +++++++ ansible/roles/osx/tasks/main.yml | 1 + 2 files changed, 8 insertions(+) create mode 100644 ansible/roles/osx/tasks/dock.yml diff --git a/ansible/roles/osx/tasks/dock.yml b/ansible/roles/osx/tasks/dock.yml new file mode 100644 index 0000000..c545683 --- /dev/null +++ b/ansible/roles/osx/tasks/dock.yml @@ -0,0 +1,7 @@ +--- +- homebrew: name=dockutil state=present +- command: dockutil --remove all +- command: dockutil --add ~/Downloads --view list + --display stack + --sort datemodified +- homebrew: name=dockutil state=absent diff --git a/ansible/roles/osx/tasks/main.yml b/ansible/roles/osx/tasks/main.yml index 3166be1..92e410a 100644 --- a/ansible/roles/osx/tasks/main.yml +++ b/ansible/roles/osx/tasks/main.yml @@ -1,6 +1,7 @@ --- - homebrew: update_homebrew=yes - include: formulae.yml +- include: dock.yml - include: casks.yml - include: fonts.yml - include: defaults.yml