Skip to content

Commit

Permalink
Ignore sshd restart errors... seems to work but reporting is off
Browse files Browse the repository at this point in the history
  • Loading branch information
johanmeiring committed Feb 1, 2017
1 parent e08ee2a commit aa59e8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
- name: SFTP-Server | Restart sshd
service: name={{ 'ssh' if ansible_os_family == 'Debian' else 'sshd' }}
state=restarted
ignore_errors: Yes

0 comments on commit aa59e8f

Please sign in to comment.