Configured sshd service name in global var

dehydrated
Felix Stupp 4 years ago
parent 0939f14b21
commit 03c485e736
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -129,6 +129,7 @@ global_redis_service_name: "redis-server.service"
global_resolv_conf: "/etc/resolv.conf" global_resolv_conf: "/etc/resolv.conf"
global_ssh_service_name: "sshd.service"
global_ssh_configuration_directory: "/etc/ssh/" global_ssh_configuration_directory: "/etc/ssh/"
global_ssh_configuration_environment_directory: "{{ global_configuration_environment_directory }}/ssh" global_ssh_configuration_environment_directory: "{{ global_configuration_environment_directory }}/ssh"
global_ssh_configuration_link_name: "config" global_ssh_configuration_link_name: "config"

@ -7,7 +7,7 @@
- name: reload ssh - name: reload ssh
systemd: systemd:
state: reloaded state: reloaded
name: ssh name: "{{ global_ssh_service_name }}"
- name: update apt cache - name: update apt cache
apt: apt:

Loading…
Cancel
Save