diff --git a/playbooks/all_scanner.yml b/playbooks/all_scanner.yml index 469a1dc..1c90afe 100755 --- a/playbooks/all_scanner.yml +++ b/playbooks/all_scanner.yml @@ -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: