diff --git a/setup_ubuntu1804/playbook.yml b/setup_ubuntu1804/playbook.yml index bca4bce..6ec7041 100755 --- a/setup_ubuntu1804/playbook.yml +++ b/setup_ubuntu1804/playbook.yml @@ -48,6 +48,11 @@ regexp: '^#?PermitRootLogin' line: 'PermitRootLogin prohibit-password' + - name: Restart ssh service + service: + name: ssh + state: restarted + # Install Packages - name: Update apt apt: update_cache=yes