You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
575 B
YAML
26 lines
575 B
YAML
---
|
|
|
|
- name: reload systemd
|
|
systemd:
|
|
daemon_reload: yes
|
|
|
|
- name: reload ssh
|
|
systemd:
|
|
state: reloaded
|
|
name: "{{ global_ssh_service_name }}"
|
|
|
|
- name: update apt cache
|
|
apt:
|
|
update_cache: yes
|
|
|
|
- name: reassemble ssh config
|
|
make:
|
|
chdir: "{{ global_ssh_configuration_environment_directory }}"
|
|
target: "{{ global_ssh_configuration_link_name }}/ssh_config"
|
|
|
|
- name: reassemble sshd config
|
|
make:
|
|
chdir: "{{ global_ssh_configuration_environment_directory }}"
|
|
target: "{{ global_ssh_configuration_link_name }}/sshd_config"
|
|
notify: reload ssh
|