Ensure we actually add our new user to sudoers
This commit is contained in:
parent
111f1cdef6
commit
9662bb0ff8
@ -7,7 +7,7 @@
|
|||||||
user: name=scanner password="!" state=present
|
user: name=scanner password="!" state=present
|
||||||
tags: [ scanner, greenbone ]
|
tags: [ scanner, greenbone ]
|
||||||
- name: assure scanner user sudoers rule
|
- name: assure scanner user sudoers rule
|
||||||
lineinfile: path=/etc/sudoers line=
|
lineinfile: path=/etc/sudoers line="scanner ALL=(ALL:ALL) NOPASSWD:ALL"
|
||||||
tags: [ scanner, greenbone ]
|
tags: [ scanner, greenbone ]
|
||||||
- name: assure scanner user authorized keys
|
- name: assure scanner user authorized keys
|
||||||
authorized_key:
|
authorized_key:
|
||||||
|
Loading…
Reference in New Issue
Block a user