ansible-user/README.md
2023-01-15 11:05:39 +01:00

42 lines
892 B
Markdown

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