diff --git a/roles/grundsoftware/tasks/main.yml b/roles/grundsoftware/tasks/main.yml index 9b87a02..6e19337 100644 --- a/roles/grundsoftware/tasks/main.yml +++ b/roles/grundsoftware/tasks/main.yml @@ -1,10 +1,15 @@ --- -- name: Eintrag in /etc/ssh/ssh_config hinzufuegen +- name: Eintraege in /etc/ssh/ssh_config hinzufuegen blockinfile: path: /etc/ssh/ssh_config block: | Host {{ ssh_config_git_host }} + HostName {{ ssh_config_git_host }} Port {{ ssh_config_git_port }} + + Host {{ ssh_config_git_local_alias }} + HostName {{ ssh_config_git_local_hostname }} + Port {{ ssh_config_git_local_port }} marker: "# {mark} ANSIBLE SSH CONFIG BLOCK" - name: Benoetigte Pakete installieren