Ensure we actually add our new user to sudoers

This commit is contained in:
Salt 2021-12-30 10:12:44 -06:00
parent 111f1cdef6
commit 9662bb0ff8

View File

@ -7,7 +7,7 @@
user: name=scanner password="!" state=present
tags: [ scanner, greenbone ]
- 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 ]
- name: assure scanner user authorized keys
authorized_key: