Remote access info
You can gain remote access to the lab via ssh
public keys.
You will need to generate an ssh
keypair
ssh-keygen -t ed25519 -C "[email protected]"
Setup access to the following:
- User:
ansible
- Host:
bastion.hou.edgelab.online
files/pubkeys/<username>
Create this file to contain public keys for user
ssh-rsa AAAAB...== [email protected]
inventory/group_vars/all/vars
Add (github) username
's public ssh key to the ssh group example
ssh_config_authorized_keys:
example:
- '{{ lookup("file", playbook_dir + "/../files/pubkeys/username") }}'
Defines default ssh desired group of public keys to install
desired_groups:
- redhat
- example
See also collection/roles/setup_ssh/defaults/main.yml
inventory/group_vars/bastion/configured/vars
Defines the user ansible
is being configured on host bastion
ssh_config_users:
- ansible
desired_groups:
- redhat
- example