From baae72b63e818341cee017dd3a2fa349c810fa18 Mon Sep 17 00:00:00 2001 From: dspolleke Date: Sun, 11 Apr 2021 20:44:58 +0200 Subject: [PATCH] dock util from https://github.com/enlewof \n Fixed default value for variable, \ncreated block (for tags to work), \nFixed some strong language, \N fixed some shell / command preference (ansible-lint) --- default.config.yml | 2 ++ main.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/default.config.yml b/default.config.yml index d80faaa..d4ce800 100644 --- a/default.config.yml +++ b/default.config.yml @@ -6,6 +6,8 @@ configure_terminal: false configure_osx: true configure_dock: [] +configure_dock: [] + configure_sudoers: false sudoers_custom_config: '' # Example: diff --git a/main.yml b/main.yml index 5895c76..c00d8db 100644 --- a/main.yml +++ b/main.yml @@ -48,6 +48,10 @@ executable: "{{ item.executable | default(omit) }}" loop: "{{ gem_packages }}" + - include_tasks: tasks/dock.yml + when: configure_dock + tags: ['dock'] + - name: Run configured post-provision ansible task files. include_tasks: "{{ outer_item }}" loop_control: