ansible/playbooks/all_scanner.yml

13 lines
371 B
YAML
Raw Normal View History

#!/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 ]