diff --git a/Ansible/requirements.yaml b/Ansible/requirements.yaml index 4954c0e..c1e9631 100644 --- a/Ansible/requirements.yaml +++ b/Ansible/requirements.yaml @@ -1,4 +1,3 @@ --- -collections: roles: - - geerlingguy.certbot \ No newline at end of file + - name: geerlingguy.certbot diff --git a/Ansible/roles/openssh.yml b/Ansible/roles/openssh.yml index 4a17799..b84c3c9 100644 --- a/Ansible/roles/openssh.yml +++ b/Ansible/roles/openssh.yml @@ -40,5 +40,5 @@ dest: /etc/ssh/sshd_config - name: Restart OpenSSH ansible.builtin.systemd: - name: sshd + name: ssh state: restarted