Update users-ssh.yml
This commit is contained in:
@@ -9,12 +9,26 @@
|
|||||||
users:
|
users:
|
||||||
- name: automation
|
- name: automation
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
# optional extra groups you want besides sudo/wheel
|
# optional extra groups besides sudo/wheel
|
||||||
groups: []
|
groups: []
|
||||||
sudo_nopasswd: true
|
sudo_nopasswd: true
|
||||||
keys:
|
keys:
|
||||||
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEx+ltCKNIEM7F4PzGLv22cIu7N0Fpn5gxwV02xq0GS9 automation@im.cz"
|
- "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:
|
tasks:
|
||||||
- name: Pick sudo group per distro
|
- name: Pick sudo group per distro
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
Reference in New Issue
Block a user