feat: added parameter to local ssh config update

- username
master
Sven Ketelsen 4 years ago
parent b0f631502c
commit a535ed3cbb

@ -3,6 +3,7 @@
# Parameters: # Parameters:
# playbook inventory # playbook inventory
# stage := the type of the stage (e.g. dev, int, qa, prod) # 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 # Updating ssh config for servers with given stage
@ -44,4 +45,5 @@
{% for host in server_group_infos_all %} {% for host in server_group_infos_all %}
Host {{ host.name }} Host {{ host.name }}
HostName {{ host.ip }} HostName {{ host.ip }}
User {{ username }}
{% endfor %} {% endfor %}
Loading…
Cancel
Save