diff --git a/tasks/template_config.yaml b/tasks/template_config.yaml index 2359043..4921b92 100644 --- a/tasks/template_config.yaml +++ b/tasks/template_config.yaml @@ -12,9 +12,7 @@ dest: "{{ sshd_config_path }}/sshd_config" mode: '0644' become: true - register: sshd_config_file - notify: - - Restart sshd + notify: Restart sshd - name: Write banner file ansible.builtin.template: