homeserver/playbooks/base/4_create_user.yml

13 lines
366 B
YAML
Raw Normal View History

2020-08-18 11:57:53 +02:00
---
- hosts: docker
2020-08-18 11:57:53 +02:00
roles:
- { 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 }
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