Skip to content

Commit

Permalink
Fix services for Ubuntu.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed May 28, 2024
1 parent deb170c commit 9441219
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ openssh_configuration_file: /etc/ssh/sshd_config
_openssh_service:
default: sshd
Debian-bullseye: ssh
Ubuntu-19: ssh
Ubuntu-20: ssh
Ubuntu-22: ssh
Ubuntu-24: ssh
Ubuntu-focal: ssh # Ubuntu 20
Ubuntu-jammy: ssh # Ubuntu 22
Ubuntu-noble: ssh # Ubuntu 24
openssh_service: "{{ _openssh_service[ansible_distribution ~ '-' ~ ansible_distribution_release] | default(_openssh_service['default'] ) }}"

_openssh_template_src:
Expand Down

0 comments on commit 9441219

Please sign in to comment.