Ensure that SSHD is installed, enabled and running

The repo server relies on SSHD for the repo synchronisation,
so in this patch we ensure that it is installed, enabled and
running.

Change-Id: I0618e76125fc1489903b3518b9bef3999c8c7347
This commit is contained in:
Jesse Pretorius 2018-09-14 14:38:33 -06:00
parent e5d3c41902
commit 73941167f1
4 changed files with 11 additions and 0 deletions

View File

@ -28,6 +28,14 @@
name: "{{ repo_service_user_name }}"
generate_ssh_key: "yes"
- name: Enable SSHD
systemd:
name: sshd
state: started
enabled: yes
masked: no
daemon_reload: yes
- name: Drop NGINX configuration files
template:
src: "{{ item.src }}"

View File

@ -24,6 +24,7 @@ repo_server_distro_packages:
- git
- lsyncd
- nginx-extras
- openssh-server
- rsync
repo_pkg_cache_server_distro_packages:

View File

@ -26,6 +26,7 @@ repo_server_distro_packages:
- git-daemon
- lsyncd
- nginx
- openssh-server
- rsync
repo_pkg_cache_server_distro_packages:

View File

@ -25,6 +25,7 @@ repo_server_distro_packages:
- git-daemon
- lsyncd
- nginx
- openssh
- rsync
repo_pkg_cache_server_distro_packages: