Update users-ssh.yml
This commit is contained in:
@@ -9,12 +9,26 @@
|
||||
users:
|
||||
- name: automation
|
||||
shell: /bin/bash
|
||||
# optional extra groups you want besides sudo/wheel
|
||||
# optional extra groups besides sudo/wheel
|
||||
groups: []
|
||||
sudo_nopasswd: true
|
||||
keys:
|
||||
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEx+ltCKNIEM7F4PzGLv22cIu7N0Fpn5gxwV02xq0GS9 automation@im.cz"
|
||||
|
||||
- name: hellsos
|
||||
shell: /bin/bash
|
||||
groups: []
|
||||
sudo_nopasswd: true
|
||||
keys:
|
||||
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKhfQt1VNQo8EbIog4yjU5VEF3mTyMEC7o1Qe95X4JwG jan@rabcan.cz"
|
||||
|
||||
- name: jim
|
||||
shell: /bin/bash
|
||||
groups: []
|
||||
sudo_nopasswd: true
|
||||
keys:
|
||||
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPFS4fsqMjMMu/Bi/884bw7yJBqvWusDRESvanH6Owco jakub@jimbuntu"
|
||||
|
||||
tasks:
|
||||
- name: Pick sudo group per distro
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
Reference in New Issue
Block a user