diff --git a/system/base/sshd/tasks/main.yml b/system/base/sshd/tasks/main.yml index 230a9dc..7c30ef3 100644 --- a/system/base/sshd/tasks/main.yml +++ b/system/base/sshd/tasks/main.yml @@ -8,20 +8,20 @@ mode: 0600 register: system_base_sshd_conf -- name: "enable sshd" +- name: "enable ssh" ansible.builtin.systemd: - name: "sshd" + name: "ssh" enabled: true -- name: "start sshd" +- name: "start ssh" ansible.builtin.systemd: - name: "sshd" + name: "ssh" state: "started" register: system_base_sshd_start -- name: "restart sshd" +- name: "restart ssh" ansible.builtin.systemd: - name: "sshd" + name: "ssh" state: "restarted" when: system_base_sshd_conf.changed and