indigo-dc.os_users

OS Users

This role is used for managing users.

Role Variables

This role accepts a list with the following items:

  • os_user_name: Specifies the user's name.
  • os_user_guid: Specifies the user's GUID. If you do not want to set a specific GUID, you can leave this out and it will be assigned randomly.
  • os_user_ssh_public_key: The SSH public key for the user.

Example Playbook

---
- name: Role for adding users
  hosts: server
  vars:
    os_users: 
      - { os_user_name: "username", os_user_guid: "<uid>", os_user_ssh_public_key: "ssh-key.pub"}
      - { os_user_name: "username", os_user_ssh_public_key: "ssh-key.pub" }
  roles:
    - role: indigo-dc.os-users

License

Apache License v2

Informazioni sul progetto

Configure users

Installa
ansible-galaxy install indigo-dc.os_users
Licenza
Unknown
Download
13k
Proprietario