From 63659ca41ebcbe1ba82f3dd42f39d21c58933cb1 Mon Sep 17 00:00:00 2001 From: dspolleke Date: Mon, 12 Apr 2021 13:49:12 +0200 Subject: [PATCH] yamllinter --- default.config.yml | 10 +++++----- tasks/remdock.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/default.config.yml b/default.config.yml index 151b395..f5430f9 100644 --- a/default.config.yml +++ b/default.config.yml @@ -6,7 +6,7 @@ configure_terminal: false configure_osx: true configure_dock: [] -configure_dock: True +configure_dock: true dockitems_to_remove: - Launchpad - Safari @@ -25,10 +25,10 @@ dockitems_to_remove: - 'App Store' remove_spacers: true dockitems_to_persist: - - name: iTerm - path: "/Applications/iTerm.app/" - - name: "Google Chrome" - path: "/Applications/Google Chrome.app/" + - name: iTerm + path: "/Applications/iTerm.app/" + - name: "Google Chrome" + path: "/Applications/Google Chrome.app/" configure_sudoers: false sudoers_custom_config: '' # Example: diff --git a/tasks/remdock.yml b/tasks/remdock.yml index 777a00d..c22bd0d 100644 --- a/tasks/remdock.yml +++ b/tasks/remdock.yml @@ -6,9 +6,9 @@ changed_when: false failed_when: '"No such file or directory" in dockitem_exists.stdout' tags: ['dock'] + - name: Ensure unwanted dock items removed. ansible.builtin.command: cmd: dockutil --remove '{{ item }}' when: dockitem_exists.rc == 0 tags: ['dock'] -