Skip to content

Commit b9b1ccc

Browse files
Merge pull request #22 from punktDe/compatibility-ubuntu
use ssh instead of sshd as service-name since ubuntu dropped the alias
2 parents d5a1f4d + a3a98ac commit b9b1ccc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.idea
12
.DS_Store
23
*.pyc
34
__pycache__

handlers/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- name: Restart sshd
88
when: (lookup('env', 'GITHUB_ACTIONS') | length) == 0
99
ansible.builtin.service:
10-
name: sshd
10+
name: ssh
1111
state: restarted
1212

1313
- name: Reload systemd units

0 commit comments

Comments
 (0)