Skip to content

Commit

Permalink
Reload sshd at the end of ssh_users role
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Jan 8, 2025
1 parent a19e5bd commit c6ac8bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ansible/roles/ssh_users/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,8 @@
ansible.builtin.file:
path: /etc/sudoers.d/adm
state: absent

- name: reload sshd
ansible.builtin.systemd_service:
name: sshd
state: reloaded

0 comments on commit c6ac8bc

Please sign in to comment.