add laptop setup #268
2 changed files with 38 additions and 0 deletions
|
@ -31,6 +31,29 @@ users:
|
|||
public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE
|
||||
allow_sudo: true
|
||||
allow_passwordless_sudo: true
|
||||
- username: docker-user
|
||||
password: "{{ lookup('viczem.keepass.keepass', 'docker-user_linux_password_hash', 'password') }}"
|
||||
update_password: always
|
||||
groups:
|
||||
- ssh
|
||||
- sudo
|
||||
- docker
|
||||
state: present
|
||||
allow_sudo: true
|
||||
allow_passwordless_sudo: true
|
||||
uid: "5000"
|
||||
|
||||
### geerlingguy.pip
|
||||
pip_package: python3-pip
|
||||
pip_install_packages:
|
||||
- name: docker # für munin-plugin docker_
|
||||
|
||||
### geerlingguy.docker
|
||||
docker_users:
|
||||
- mg
|
||||
- docker-user
|
||||
docker_install_compose: true
|
||||
docker_add_repo: true
|
||||
|
||||
### oefenweb.ufw
|
||||
ufw_rules:
|
||||
|
|
|
@ -25,3 +25,18 @@
|
|||
- role: oefenweb.ufw
|
||||
tags: ufw
|
||||
become: true
|
||||
- role: mgrote_pip_pre_tasks
|
||||
tags: "pip_pre"
|
||||
become: true
|
||||
- role: geerlingguy.pip
|
||||
tags: "pip"
|
||||
become: true
|
||||
- role: geerlingguy.docker
|
||||
tags: "docker"
|
||||
become: true
|
||||
- role: gantsign.ctop
|
||||
tags: "ctop"
|
||||
become: true
|
||||
- role: mgrote_docker_housekeeping
|
||||
tags: "housekeeping"
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue