Consolidate SSH keys. Add host IPs.
This commit is contained in:
parent
ddf6a0d989
commit
4555b9664f
2 changed files with 12 additions and 26 deletions
|
@ -4,10 +4,15 @@
|
||||||
ungrouped:
|
ungrouped:
|
||||||
hosts:
|
hosts:
|
||||||
docker.local:
|
docker.local:
|
||||||
|
ansible_host: 10.0.1.106
|
||||||
minecraft.local:
|
minecraft.local:
|
||||||
|
ansible_host: 10.0.1.105
|
||||||
ff-syncserver.local:
|
ff-syncserver.local:
|
||||||
|
ansible_host: 10.0.1.102
|
||||||
technitium.local:
|
technitium.local:
|
||||||
|
ansible_host: 10.0.1.111
|
||||||
weebill.local:
|
weebill.local:
|
||||||
|
ansible_host: 10.0.1.4
|
||||||
|
|
||||||
### GROUPS ###
|
### GROUPS ###
|
||||||
|
|
||||||
|
|
|
@ -1,34 +1,15 @@
|
||||||
- name: Add SSH Key - muskduck
|
- name: Add SSH Keys
|
||||||
tags:
|
tags:
|
||||||
- ssh_keys
|
- ssh_keys
|
||||||
ansible.posix.authorized_key:
|
ansible.posix.authorized_key:
|
||||||
user: fern
|
user: fern
|
||||||
state: present
|
state: present
|
||||||
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGp2OX16VJ+G8cE5hjt2vLc8teUpE+EaN2YmEqqMx/j9 fern@muskduck"
|
exclusive: true
|
||||||
|
key: >
|
||||||
- name: Add SSH Key - pardalote
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIETPyuxUVEmYyEW6PVC6BXqkhULHd/RvMm8fMbYhjTMV fern@muskduck
|
||||||
tags:
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKzW4epTmK01kGVXcuAXUNJQPltnogf4uab9FA5m8S3n fern@pardalote
|
||||||
- ssh_keys
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBEJYq1fMxVOzCMfE/td6DtWS8nUk76U9seYD3Z9RYAz u0_a399@fairywren
|
||||||
ansible.posix.authorized_key:
|
sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIMoJvPcUJDVVzO4dHROCFNlgJdDZSP5xyPx2s40zcx5QAAAABHNzaDo= YubiKey5NFC
|
||||||
user: fern
|
|
||||||
state: present
|
|
||||||
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKzW4epTmK01kGVXcuAXUNJQPltnogf4uab9FA5m8S3n fern@pardalote"
|
|
||||||
|
|
||||||
- name: Add SSH Key - fairywren
|
|
||||||
tags:
|
|
||||||
- ssh_keys
|
|
||||||
ansible.posix.authorized_key:
|
|
||||||
user: fern
|
|
||||||
state: present
|
|
||||||
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBEJYq1fMxVOzCMfE/td6DtWS8nUk76U9seYD3Z9RYAz u0_a399@fairywren"
|
|
||||||
|
|
||||||
- name: Add SSH Key - YubiKey
|
|
||||||
tags:
|
|
||||||
- ssh_keys
|
|
||||||
ansible.posix.authorized_key:
|
|
||||||
user: fern
|
|
||||||
state: present
|
|
||||||
key: "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIMoJvPcUJDVVzO4dHROCFNlgJdDZSP5xyPx2s40zcx5QAAAABHNzaDo= YubiKey5NFC"
|
|
||||||
|
|
||||||
- name: Disable root login
|
- name: Disable root login
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue