diff options
author | Markos Chandras <mchandras@suse.de> | 2018-06-25 12:17:31 +0100 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-06-26 16:29:05 +0100 |
commit | fd09da131991a99a886dd0c65969d30d81499511 (patch) | |
tree | 611376c8510b7ed9d88dbe4e4f80b2215e9f35a6 | |
parent | 39e1d639c0f2e1a1a4c53cdfb68ae6f6e705dd0f (diff) |
xci: playbooks: manage-ssh-keys: Create regular user and SSH keys
We may need to perform non-root tasks on the nodes, so we should have a
regular user present as well.
Change-Id: I0b824f1875ce04fe67424fc96e754e06da53be8d
Signed-off-by: Markos Chandras <mchandras@suse.de>
-rw-r--r-- | xci/playbooks/manage-ssh-keys.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xci/playbooks/manage-ssh-keys.yml b/xci/playbooks/manage-ssh-keys.yml index ff797aad..999215d8 100644 --- a/xci/playbooks/manage-ssh-keys.yml +++ b/xci/playbooks/manage-ssh-keys.yml @@ -6,6 +6,15 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## +- name: Configure SSH key for devuser + user: + name: devuser + generate_ssh_key: yes + ssh_key_bits: 2048 + ssh_key_comment: xci + ssh_key_type: rsa + state: present + - name: Configure SSH key for root user user: name: root |