diff --git a/tasks/main.yml b/tasks/main.yml
index 67722a191a2f2a8e55326dc8685457902c6571b7..e471ea762608bd7e64837530d9145b2e3a08c3d2 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -17,21 +17,5 @@
       update_cache: yes
       cache_valid_time: 3600
 
-- name: Install sudo
-  when: debian_bootstrap_sudo_group is defined
-  apt:
-      name: sudo
-      state: present
-      update_cache: yes
-      cache_valid_time: 3600
-
-- name: Allow sudo access
-  when: debian_bootstrap_sudo_group is defined
-  ignore_errors: "{{ ansible_check_mode }}"
-  lineinfile:
-      dest: '/etc/sudoers'
-      line: '%{{ debian_bootstrap_sudo_group }} ALL=(ALL) NOPASSWD: ALL'
-      regexp: '^%{{ debian_bootstrap_sudo_group }}'
-      state: present
-      owner: root
-      group: root
+- name: Gather facts
+  setup:
diff --git a/tests/test_example.py b/tests/test_example.py
index aaea50030b9784f0528df9b936cf1903d3af5994..4f4066cb7e9d60d2116f7cf9708c336a4145e9b7 100644
--- a/tests/test_example.py
+++ b/tests/test_example.py
@@ -5,8 +5,3 @@ testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all')
 
 def test_example(Command):
     assert Command('uname').rc == 0
-
-
-def test_root(Command, Sudo):
-    with Sudo():
-        assert Command('whoami').stdout.strip() == 'root'