Files
ansible-pull/roles/grundsoftware/tasks/main.yml
T

18 lines
543 B
YAML

---
- 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
package:
name: "{{ grundsoftware_packages }}"
state: present