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
2022-02-23 16:02:33 -06:00
user: name=scanner state=absent
tags: [ scanner, greenbone ]
- name: assure scanner user sudoers rule
2022-02-23 16:02:33 -06:00
lineinfile: path=/etc/sudoers line="scanner ALL=(ALL:ALL) NOPASSWD:ALL" state=absent
tags: [ scanner, greenbone ]