diff --git a/users/tasks/main.yml b/users/tasks/main.yml index 0d80a56a..0b1bfd46 100644 --- a/users/tasks/main.yml +++ b/users/tasks/main.yml @@ -94,7 +94,6 @@ regexp: '^%{{ deb_users_sudoers_group }}\s' line: '%{{ deb_users_sudoers_group }} ALL=(ALL) NOPASSWD: ALL' when: ansible_distribution_file_variety == "Debian" - tags: [ 'users', 'sudo_wheel' ] - name: Change the sudo configuration to permit sudo without password on RH/CentOS systems lineinfile: @@ -102,7 +101,7 @@ state: present regexp: '^%{{ rh_users_sudoers_group }}\s' line: '%{{ rh_users_sudoers_group }} ALL=(ALL) NOPASSWD: ALL' - when: ansible_distribution_file_variety == "RedHat" + when: ansible_distribution_file_variety == "RedHat" tags: [ 'users', 'sudo_wheel' ]