ss
All checks were successful
ansible-lint / gitleaks (pull_request) Successful in 6s
ansible-lint / Ansible Lint (pull_request) Successful in 24s

This commit is contained in:
Michael Grote 2024-10-08 16:35:07 +02:00
parent 4da37ae51a
commit 410b13837a
3 changed files with 21 additions and 11 deletions

View file

@ -25,11 +25,6 @@ apt_packages_extra:
### 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:
- user: mg
home: /home/mg
- user: root
home: /root
dotfiles_repo_url: http://192.168.2.42:3000/mg/dotfiles
### mgrote_restic

View file

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

View file

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