feat: configure ssh connection on local machine on setup

This commit is contained in:
Alexander Navarro 2024-12-12 12:30:40 -03:00
parent 6fa7d0fbd3
commit 449340969c
4 changed files with 77 additions and 49 deletions

View file

@ -1,7 +1,7 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/ansible/ansible-lint/refs/heads/main/src/ansiblelint/schemas/vars.json
---
users:
- name: aleidk
aleidk:
shell: /bin/sh
system: false
groups:
@ -14,10 +14,10 @@ users:
3861326166353836330a333563623030346563353264313333363132633238636463623761313635
3432
ssh_keys:
priv: "{{ lookup('file', 'files/aleidk_key') }}"
pub: "{{ lookup('file', 'files/aleidk_key.pub') }}"
priv: files/aleidk_key
pub: files/aleidk_key.pub
- name: robo
robo:
shell: /bin/sh
system: true
groups: []
@ -29,5 +29,5 @@ users:
6433373636316237330a343139363432653737376465633538636639626238613266646664366166
3136
ssh_keys:
priv: "{{ lookup('file', 'files/robo_key') }}"
pub: "{{ lookup('file', 'files/robo_key.pub') }}"
priv: files/robo_key
pub: files/robo_key.pub