diff --git a/tasks/usersettings.yml b/tasks/usersettings.yml index d24265c..1aa2923 100644 --- a/tasks/usersettings.yml +++ b/tasks/usersettings.yml @@ -2,7 +2,7 @@ # Common/Usersettings: Universial Dotfiles. Update regularly. - name: Usersettings - Install required tools - become: true + become: "{{ ansible_facts['os_family'] != 'Darwin' }}" ignore_errors: true # just fail on systems without sudo access ansible.builtin.package: name: "{{ packages }}"