From 82979a7b302dabe903ab4fd83f39a610a172e716 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/dock.yml | 2 +- tasks/remdock.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/default.config.yml b/default.config.yml index 29ca56c..394f00f 100644 --- a/default.config.yml +++ b/default.config.yml @@ -5,7 +5,7 @@ configure_dotfiles: true configure_terminal: true configure_osx: true -configure_dock: True +configure_dock: true dockitems_to_remove: - Launchpad - Safari @@ -24,10 +24,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/dock.yml b/tasks/dock.yml index 627738d..20cebd0 100644 --- a/tasks/dock.yml +++ b/tasks/dock.yml @@ -16,7 +16,7 @@ with_items: "{{ dockitems_to_persist }}" - name: Ensure correct dock order - ansible.builtin.command: + ansible.builtin.command: cmd: dockutil --move '{{ item.name }}' --position '{{ item.pos }}' when: - item.pos is defined 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'] -