mirror of
https://github.com/roles-ansible/ansible_collection_users.git
synced 2024-08-16 10:29:50 +02:00
commit
ecf4485eda
2 changed files with 4 additions and 3 deletions
|
@ -3,6 +3,6 @@
|
|||
become: true
|
||||
listen: 'systemctl restart sshd'
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ l3d_users__sshd_service }}"
|
||||
name: "{{ l3d_users__sshd_service | default(sshd) }}"
|
||||
state: restarted
|
||||
when: l3d_users__sshd__service is defined and ansible_service_mgr == 'systemd'
|
||||
when: nsible_service_mgr == 'systemd'
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
when: submodules_versioncheck | bool
|
||||
|
||||
- name: Load l3d_users_sshd_service variable
|
||||
ansible.builtin.include_vars: "{{ lookup('first_found', l3d_users_sshd__service_var_path) }}"
|
||||
ansible.builtin.include_vars:
|
||||
file: "{{ lookup('first_found', l3d_users_sshd__service_var_path) }}"
|
||||
|
||||
- name: Install openssh server
|
||||
ansible.builtin.include_tasks:
|
||||
|
|
Loading…
Reference in a new issue