1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_users.git synced 2024-08-16 10:29:50 +02:00

restart sshd if something changed

This commit is contained in:
L3D 2024-02-17 18:55:58 +01:00
parent afa417ba8e
commit 22551c7eb9
No known key found for this signature in database
GPG key ID: AD65B920933B4B20
2 changed files with 4 additions and 0 deletions

View file

@ -13,3 +13,5 @@
name: "{{ item }}" name: "{{ item }}"
state: 'present' state: 'present'
with_items: "{{ l3d_users__sshd_package }}" with_items: "{{ l3d_users__sshd_package }}"
notify:
- 'systemctl restart sshd'

View file

@ -42,3 +42,5 @@
mode: '0644' mode: '0644'
when: submodules_versioncheck | bool when: submodules_versioncheck | bool
tags: skip_ansible_lint_template-instead-of-copy tags: skip_ansible_lint_template-instead-of-copy
notify:
- 'systemctl restart sshd'