ansible/roles/shell/tasks/users/amcclure.yml

22 lines
690 B
YAML

---
- user:
name: amcclure
groups: tilde, sudo
state: present
skeleton: /etc/skel
shell: /bin/bash
system: no
createhome: yes
home: /home/amcclure
- authorized_key:
user: amcclure
state: present
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFheJihLfXJ4jg2bRKKAErB76fw8izDxpg4dFibaQage amcclure@Antons-MacBook-Pro.local"
- authorized_key:
user: amcclure
state: present
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBywPzkTo3xB2xCtXNejfsTn+5S3mCPbnu1brR792jN1 amcclure@solaris"
- authorized_key:
user: amcclure
state: present
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAb/LEff3etQLEEF6L61KyTkxXfsI6tJwV161oSoPkyb amcclure@gowinnt"