mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-25 04:20:18 +01:00
tasks: Improve the order of keys and add missing name
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
parent
e6d075b8f3
commit
6f4d3d8fdb
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- name: Install systemd service files
|
||||
when: sshd_install_service | bool
|
||||
block:
|
||||
- name: Install service unit file
|
||||
ansible.builtin.template:
|
||||
|
@ -25,7 +26,6 @@
|
|||
group: root
|
||||
mode: "0644"
|
||||
notify: reload_sshd
|
||||
when: sshd_install_service | bool
|
||||
|
||||
- name: Service enabled and running
|
||||
ansible.builtin.service:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
|
||||
- ansible.builtin.include_tasks: sshd.yml
|
||||
- name: Invoke the role, if enabled
|
||||
ansible.builtin.include_tasks: sshd.yml
|
||||
when: sshd_enable|bool
|
||||
|
|
Loading…
Reference in a new issue