mirror of
https://github.com/roles-ansible/ansible_collection_users.git
synced 2024-08-16 10:29:50 +02:00
8 lines
228 B
YAML
8 lines
228 B
YAML
---
|
|
- name: Restart SSHD Server
|
|
become: true
|
|
listen: 'systemctl restart sshd'
|
|
ansible.builtin.systemd:
|
|
name: "{{ l3d_users__sshd_service | default(sshd) }}"
|
|
state: restarted
|
|
when: nsible_service_mgr == 'systemd'
|