homeserver/playbooks/base/1_bootstrap.yml
Quotengrote a3620ba5e7
Upgrade auf Ubuntu 20.04 (#29)
* postgres-update für 2004

* Rolle Create USers entfernt, Nutzer wird jetzt durch nickjj.ansible_user erstellt

* Reihenfolge Tasks angepasst

* Rolle create_users angepasst

* wip

* linter

* github Actions Version angepasst

* Rolle geerlingguy.ansible hinzugefügt

* neue Ansible Version

* Version github actions
2020-09-26 14:41:10 +02:00

27 lines
773 B
YAML

---
- hosts: all
become: yes
gather_facts: false
max_fail_percentage: 20%
roles:
- { role: robertdebock.bootstrap, tags: "bootstrap" }
- { role: nickjj.ansible-user, tags: "ansible-user" }
vars:
### reobertdebock.bootstrap
bootstrap_user: mg
bootstrap_wait_for_host: no
bootstrap_timeout: 3
bootstrap_retries: 3
### 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
# ansible_user: "ansible-user"
# ansible_password: "hallowelt"
# ansible_become_password: "hallowelt"
ansible_ssh_common_args: "'-o StrictHostKeyChecking=no'"