Remove Scanner configuration
This commit is contained in:
parent
87f1058439
commit
2d07432a45
@ -5,13 +5,8 @@
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: assure scanner user
|
||||
user: name=scanner password="!" state=present
|
||||
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"
|
||||
tags: [ scanner, greenbone ]
|
||||
- name: assure scanner user authorized keys
|
||||
authorized_key:
|
||||
user: scanner
|
||||
key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCTtAXbh9IDD0dYIJhtWiOtmAYgH5ul5aMksb9RtdUa04DkZ2tcxIay9Wm/84yxultevvpOlFcKGNaBiLVHknkYO/eLS6W38xXy40DcIMRgzpWOu54hvL6jzzhbdupUkO+f6UGEE3j/uEnkoCKUbj0NMMDQgC/5t2N4lysuGeZMMOL85UdEmXdul4lQLlDywIo3P1cifxaRfnADgqQnt3zSlgIwKJi2Vjyh4A1Xox2wn8fQXs+MfuclVdWQlDkKFMuDdQdZnGUnqKjuEE1PZe/jDxTgjGBU3t3v8m2gRxZQyll6Ju6Z5oeBI6LN0P/Dt7XKyWmrWaub0pLDmklWqU0g+aUj5oiokvf/3A27EIoP5ifSK760B8DPZHLgM2OZhsUzUaYy36yFx3Le25iGlDWjIy9GZo1iZXp558I5VKLh4uUL4MjhvL5UpMLa4NL4VrHvrjzMbWquNvsMYVgk6Y07VaVcg43wTdcX6Jzxzd6IvGVBS1kXZC3kZeqU+zUYbQE="
|
||||
lineinfile: path=/etc/sudoers line="scanner ALL=(ALL:ALL) NOPASSWD:ALL" state=absent
|
||||
tags: [ scanner, greenbone ]
|
||||
|
Loading…
Reference in New Issue
Block a user