system-config/playbooks/roles/base-server/handlers/main.yaml
Monty Taylor eae9a42b4b
Manage sshd config with ansible
We write out a specific sshd config file. Let's do it with ansible.

Change-Id: Ie92b6ec6c8772d31009d1c2a2f7d5558bb38f67a
2018-08-20 11:26:38 -05:00

11 lines
198 B
YAML

- name: Restart rsyslog
service:
name: rsyslog
state: restarted
- name: Restart ssh
service:
name: '{{ ssh_service_name }}'
state: restarted
when: not ansible_facts.is_chroot