13 lines
371 B
YAML
Executable File
13 lines
371 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
# vim:ft=ansible:
|
|
---
|
|
- hosts: all
|
|
gather_facts: no
|
|
tasks:
|
|
- name: assure scanner user
|
|
user: name=scanner state=absent
|
|
tags: [ scanner, greenbone ]
|
|
- name: assure scanner user sudoers rule
|
|
lineinfile: path=/etc/sudoers line="scanner ALL=(ALL:ALL) NOPASSWD:ALL" state=absent
|
|
tags: [ scanner, greenbone ]
|