You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vincent 153d2870ee feat: manage custom uid 5 months ago
defaults feat: manage custom uid 5 months ago
handlers feat: init role 5 months ago
meta feat: init role 5 months ago
molecule/default feat: init role 5 months ago
tasks feat: manage custom uid 5 months ago
templates feat: init role 5 months ago
tests feat: init role 5 months ago
vars feat: init role 5 months ago
.yamllint feat: init role 5 months ago
README.md feat: init role 5 months ago

README.md

ansible-user

create user with ssh config

Role Variables

A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

include_role:
  name: "ansible-user"
vars:
  user_name: "toto"
  user_home: "/home/toto"
  user_groups:
    - docker
    - video
  user_shell: "/bin/zsh" 
  user_authorized_key: 
    - key1
    - key2
  user_privatekey: 
    - keyname: id_toto
      key: dzedfz

License

BSD