ansible-roles/sshd_config/tasks/main.yml

6 lines
227 B
YAML

---
- name: Install the sshd configuration file
template: src=sshd_config.j2 dest={{ sshd_config_dir }}/{{ sshd_config_file }} owner=root group=root mode=0644
notify: Reload the ssh service
tags: [ 'ssh', 'sshd_config' ]