Skip to content

Commit 052d44d

Browse files
committed
test
1 parent e25f04d commit 052d44d

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

ansible/playbooks/install-pwsh.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,6 @@
7171
notify: Restart SSH
7272

7373
- name: Restart SSH
74-
block:
75-
- name: Try restarting sshd
76-
ansible.builtin.service:
77-
name: sshd
78-
state: restarted
79-
rescue:
80-
- name: Fallback to restarting ssh
81-
ansible.builtin.service:
82-
name: ssh
83-
state: restarted
74+
ansible.builtin.service:
75+
name: sshd
76+
state: restarted

0 commit comments

Comments
 (0)