--- - name: sshd_config | Install the sshd configuration file ansible.builtin.template: src: sshd_config.j2 dest: "{{ sshd_config_dir }}/{{ sshd_config_file }}" owner: root group: root mode: "0644" notify: Reload the ssh service when: sshd_install_config tags: - ssh - sshd_config