13 lines
371 B
YAML
13 lines
371 B
YAML
|
#!/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 ]
|