From 5fa6cf3e8433fff683b2573556efe8a207f460f9 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Mon, 12 Dec 2016 19:45:42 +0200 Subject: [PATCH] - Install SSH server for testing purposes. --- tests/playbook.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/playbook.yml b/tests/playbook.yml index 3b01e04..c036ee9 100644 --- a/tests/playbook.yml +++ b/tests/playbook.yml @@ -16,6 +16,18 @@ args: creates: files/id_rsa + - name: Install SSH server + when: ansible_pkg_mgr == 'apt' + apt: + name: openssh-server + state: present + + - name: Start SSH service + when: ansible_pkg_mgr == 'apt' + service: + name: ssh + state: started + - hosts: all strategy: free roles: -- GitLab