Explorar o código

remove sudo requiretty task

Markus Lindenberg %!s(int64=9) %!d(string=hai) anos
pai
achega
eb54f9246a
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      roles/internal/ffdo.authentication/tasks/main.yml

+ 0 - 7
roles/internal/ffdo.authentication/tasks/main.yml

@@ -4,13 +4,6 @@
 - name: Ensure sudo is installed
   apt: name=sudo state=present
 
-- name: Ensure that sudo works without tty
-  lineinfile:
-    dest: "/etc/sudoers"
-    regexp: "^Defaults\\s+requiretty.*$"
-    line: "# Defaults    requiretty"
-    validate: 'visudo -cf %s'
-
 - name: Disable password based sudo for users in group sudo and enable password less sudo
   lineinfile:
     dest: "/etc/sudoers"