Commit 2a1543ce authored by Guido Gunther's avatar Guido Gunther
Browse files

Trust in version control

parent 3290c7c0
...@@ -82,15 +82,6 @@ ...@@ -82,15 +82,6 @@
%jenkins ALL = (root) SETENV: NOPASSWD: /usr/sbin/debootstrap, /usr/sbin/chroot, /usr/sbin/pbuilder %jenkins ALL = (root) SETENV: NOPASSWD: /usr/sbin/debootstrap, /usr/sbin/chroot, /usr/sbin/pbuilder
dest: /etc/sudoers.d/jenkins dest: /etc/sudoers.d/jenkins
notify: Restart jenkins notify: Restart jenkins
# - name: Allow passwordless sudo
# lineinfile:
# dest: /etc/sudoers
# regexp: '^%sudo'
# line: '%sudo ALL=(ALL) NOPASSWD: ALL'
# validate: 'visudo -cf %s'
# - name: Add jenkins to sudoers group
# user: name=jenkins groups=sudo append=yes state=present
# notify: Restart jenkins
handlers: handlers:
- name: Restart nginx - name: Restart nginx
systemd: name=nginx state=restarted systemd: name=nginx state=restarted
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment