2020-08-18 11:57:53 +02:00
|
|
|
---
|
2020-09-26 14:41:10 +02:00
|
|
|
- hosts: docker
|
2020-08-18 11:57:53 +02:00
|
|
|
roles:
|
2020-09-26 14:41:10 +02:00
|
|
|
- { role: mgrote.create_users, tags: "user", become: yes }
|
2020-08-18 11:57:53 +02:00
|
|
|
- { role: mgrote.deploy_ssh_keys, tags: "ssh", become: yes }
|
2020-09-26 14:41:10 +02:00
|
|
|
|
|
|
|
vars:
|
|
|
|
### fuer rolle nickjj.ansible-user
|
|
|
|
user_name: "mg"
|
|
|
|
user_generate_ssh_key: true
|
|
|
|
user_local_ssh_key_path: "~/.ssh/id_rsa.pub"
|
|
|
|
user_enable_passwordless_sudo: True
|