f5248e88d9
* bootstrap rolle hinzugefügt * playbook bootstrap + master angepasst
21 lines
699 B
YAML
21 lines
699 B
YAML
---
|
|
- hosts: lxc-test.grote.lan
|
|
become: yes
|
|
gather_facts: false
|
|
max_fail_percentage: 20%
|
|
|
|
roles:
|
|
- { role: robertdebock.bootstrap, tags: "bootstrap" }
|
|
- { role: nickjj.ansible-user, tags: "ansible-user" }
|
|
|
|
vars:
|
|
### fuer rolle nickjj.ansible-user
|
|
user_name: "ansible-user"
|
|
user_generate_ssh_key: true
|
|
user_local_ssh_key_path: "~/.ssh/id_rsa.pub"
|
|
user_enable_passwordless_sudo: True
|
|
|
|
ansible_user: "mg" # Hier ändern wenn ein anderer Nutzer für die Erstanmeldung verwendet werden soll.
|
|
ansible_password: "hallowelt"
|
|
ansible_become_password: "hallowelt"
|
|
ansible_ssh_common_args: "'-o StrictHostKeyChecking=no'"
|