diff --git a/update-ssh-config-file.yml b/update-ssh-config-file.yml index 34b880d..29a8276 100644 --- a/update-ssh-config-file.yml +++ b/update-ssh-config-file.yml @@ -3,6 +3,7 @@ # Parameters: # playbook inventory # stage := the type of the stage (e.g. dev, int, qa, prod) +# username := the default username to use for the ssh connection ############################################################# # Updating ssh config for servers with given stage @@ -44,4 +45,5 @@ {% for host in server_group_infos_all %} Host {{ host.name }} HostName {{ host.ip }} + User {{ username }} {% endfor %} \ No newline at end of file