Ensure that SSHD is installed, enabled and running

The keystone containers rely on SSHD for the key synchronisation,
so in this patch we ensure that it is installed, enabled and
running.

Change-Id: I044c080dba1068f79f4018b54b8ad120192b3932
This commit is contained in:
Jesse Pretorius 2018-09-14 14:42:55 -06:00
parent 55d8783b99
commit 1fe56e8129
4 changed files with 11 additions and 0 deletions

View File

@ -13,6 +13,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Enable SSHD
systemd:
name: sshd
state: started
enabled: yes
masked: no
daemon_reload: yes
- name: Generate the keystone system user ssh key
user:
name: "{{ keystone_system_user_name }}"

View File

@ -18,6 +18,7 @@ keystone_distro_packages:
- cronie
- cronie-anacron
- git
- openssh-server
- rsync
keystone_devel_distro_packages:

View File

@ -18,6 +18,7 @@ keystone_distro_packages:
- ca-certificates
- cronie
- git-core
- openssh
- rsync
keystone_devel_distro_packages:

View File

@ -15,6 +15,7 @@
keystone_distro_packages:
- git
- openssh-server
- rsync
keystone_devel_distro_packages: