Go to file
2024-01-21 15:44:44 +01:00
defaults feat: manage custom uid 2023-01-15 12:52:55 +01:00
handlers feat: init role 2023-01-15 11:05:39 +01:00
meta feat: init role 2023-01-15 11:05:39 +01:00
molecule/default feat: init role 2023-01-15 11:05:39 +01:00
tasks fix certif with retour chariot 2024-01-21 15:44:44 +01:00
templates feat: init role 2023-01-15 11:05:39 +01:00
tests feat: init role 2023-01-15 11:05:39 +01:00
vars feat: init role 2023-01-15 11:05:39 +01:00
.gitignore add .gitignore 2023-12-23 10:25:30 +01:00
.yamllint feat: init role 2023-01-15 11:05:39 +01:00
README.md feat: init role 2023-01-15 11:05:39 +01:00

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