mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-25 13:40:17 +00:00
Adding user virus
This commit is contained in:
15
roles/shell/tasks/users/virus.yml
Normal file
15
roles/shell/tasks/users/virus.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: Setting up virus
|
||||
user:
|
||||
name: virus
|
||||
groups: tilde
|
||||
state: present
|
||||
skeleton: /etc/skel
|
||||
shell: /bin/bash
|
||||
system: no
|
||||
createhome: yes
|
||||
home: /home/virus
|
||||
- authorized_key:
|
||||
user: virus
|
||||
state: present
|
||||
key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+28Ct8xvfUG/1Dt1BH/wa4b7fGP3LV+OwYf2XZxEoHgG/JE5WbiLQXiJR3BAyerJSwxBcPvtZbUOD0BJ6wXbVXJnhlJOOzs48KeGWvXycHx3QfGMSP0pyQGQkSKVpaU6mJu6mbKnuoaiuBIVm3kww/TWGKVHKQHKdGvXcgdu6tzYWkduniGZFzfGpTlYnt4im1PRPxfKhcyD8bZ797JGq7KCiVYnE9+XO2LeM4OB5VD2liX94YS64l6E3SJxC0k4KF+PcrRcvzJfWdq6NyYEod7vouH4BjLUZohiAA0Xxt2Zafas+EaRAeML+NUC8CxsS+6G7sfA3bAqhmbvEQ0wd"
|
||||
Reference in New Issue
Block a user