May 2018
Intermediate to advanced
554 pages
13h 51m
English
Sometimes you may need to ssh to target machines using a different logon user. In this case, you can append the ansible_user parameter to an individual host in hosts.ini. For example:
In this case, change hosts.ini, as shown in the following code:
my-master-1 ansible_ssh_host=10.128.0.2 ansible_user=kiritomy-node-1 ansible_ssh_host=10.128.0.4 ansible_user=asuna
Read now
Unlock full access