User
The Ansible user is used to remotely execute various deployment tasks into cluster nodes.
User Name
Set the ansible_user
variable into all.yaml
global configuration file.
â ī¸
Use the
username
value defined into OS General Settings server installation, to set the ansible_user
variable.User Password
Encrypt the ansible_password
variable with ansible-vault
and set the encrypted value into all.yaml
global configuration file.
SSH Key
Generate the SSH key, which will be copied into each cluster node, while running the Provisioning playbook:
ssh-keygen -t ed25519 -C 'your_email@example.com'
âšī¸
The Provisioning playbook will look for the generated SSH key, into default
/Users/username/.ssh
location.For a different storage location, update the cluster_vars.ssh.authorized_key
value into Cluster role main.yaml
configuration file.