Skip to content
Snippets Groups Projects
Name Last commit Last update
defaults
meta
tasks
README.md

Ansible role - kypo-user-access

This role was specially designed for KYPO sandbox. It sets user-access public SSH key as authorized key and optionally sets password to a user.

Requirements

  • This role requires root access, so you either need to specify become directive as a global or while invoking the role.

    become: yes

Role parameters

Mandatory parameters

  • kypo_user_access_username - The name of the user to give SSH access to.

Optional parameters.

  • kypo_user_access_password - The password of user kypo_user_access_password (omitted by default).

Example

The simplest example.

roles:
    - role: kypo-user-access
      kypo_user_access_username: kypo