fix mgrote_users "wantlist" #203

Merged
mg merged 10 commits from us into master 2024-10-08 17:02:29 +02:00
3 changed files with 21 additions and 11 deletions
Showing only changes of commit 410b13837a - Show all commits

View file

@ -25,11 +25,6 @@ apt_packages_extra:
### mgrote_user_setup ### mgrote_user_setup
dotfiles_vim_vundle_repo_url: "http://{{ ansible_forgejo_user | urlencode }}:{{ ansible_forgejo_user_pass | urlencode }}@192.168.2.42:3000/mirrors/Vundle.vim.git" dotfiles_vim_vundle_repo_url: "http://{{ ansible_forgejo_user | urlencode }}:{{ ansible_forgejo_user_pass | urlencode }}@192.168.2.42:3000/mirrors/Vundle.vim.git"
dotfiles:
- user: mg
home: /home/mg
- user: root
home: /root
dotfiles_repo_url: http://192.168.2.42:3000/mg/dotfiles dotfiles_repo_url: http://192.168.2.42:3000/mg/dotfiles
### mgrote_restic ### mgrote_restic

View file

@ -29,7 +29,10 @@ users:
- username: mg - username: mg
password: "{{ lookup('viczem.keepass.keepass', 'mg_linux_password_hash', 'password') }}" password: "{{ lookup('viczem.keepass.keepass', 'mg_linux_password_hash', 'password') }}"
update_password: always update_password: always
groups: ssh, sudo, docker groups:
- ssh
- sudo
- docker
state: present state: present
public_ssh_key: "{{ ssh_public_key_mg }}" public_ssh_key: "{{ ssh_public_key_mg }}"
allow_sudo: true allow_sudo: true
@ -37,7 +40,10 @@ users:
- username: docker-user - username: docker-user
password: "{{ lookup('viczem.keepass.keepass', 'docker-user_linux_password_hash', 'password') }}" password: "{{ lookup('viczem.keepass.keepass', 'docker-user_linux_password_hash', 'password') }}"
update_password: always update_password: always
groups: ssh, sudo, docker groups:
- ssh
- sudo
- docker
state: present state: present
allow_sudo: true allow_sudo: true
allow_passwordless_sudo: true allow_passwordless_sudo: true
@ -45,7 +51,9 @@ users:
- username: ansible-user - username: ansible-user
password: "{{ lookup('viczem.keepass.keepass', 'ansible_user_linux_password_hash', 'password') }}" password: "{{ lookup('viczem.keepass.keepass', 'ansible_user_linux_password_hash', 'password') }}"
update_password: always update_password: always
groups: ssh, sudo groups:
- ssh
- sudo
state: present state: present
public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu
allow_sudo: true allow_sudo: true

View file

@ -7,14 +7,19 @@ users:
- username: root - username: root
password: "{{ lookup('viczem.keepass.keepass', 'root_linux_password_hash_proxmox', 'password') }}" password: "{{ lookup('viczem.keepass.keepass', 'root_linux_password_hash_proxmox', 'password') }}"
update_password: always update_password: always
groups: ssh, sudo, root groups:
- ssh
- sudo
- root
state: present state: present
allow_sudo: true allow_sudo: true
allow_passwordless_sudo: true allow_passwordless_sudo: true
- username: mg - username: mg
password: "{{ lookup('viczem.keepass.keepass', 'mg_linux_password_hash', 'password') }}" password: "{{ lookup('viczem.keepass.keepass', 'mg_linux_password_hash', 'password') }}"
update_password: always update_password: always
groups: ssh, sudo groups:
- ssh
- sudo
state: present state: present
public_ssh_key: "{{ ssh_public_key_mg }}" public_ssh_key: "{{ ssh_public_key_mg }}"
allow_sudo: true allow_sudo: true
@ -22,7 +27,9 @@ users:
- username: ansible-user - username: ansible-user
password: "{{ lookup('viczem.keepass.keepass', 'ansible_user_linux_password_hash', 'password') }}" password: "{{ lookup('viczem.keepass.keepass', 'ansible_user_linux_password_hash', 'password') }}"
update_password: always update_password: always
groups: ssh, sudo groups:
- ssh
- sudo
state: present state: present
public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu
allow_sudo: true allow_sudo: true