This commit is contained in:
Michael Grote 2024-10-23 21:29:17 +02:00
parent ffa9f9d033
commit 65c7739f71

View file

@ -22,38 +22,6 @@ apt_packages_extra:
### mgrote_restic ### mgrote_restic
restic_folders_to_backup: "/usr/local /etc /root /home {{ gitea_home }}" restic_folders_to_backup: "/usr/local /etc /root /home {{ gitea_home }}"
### mgrote_user
users:
- username: mg
password: "{{ lookup('viczem.keepass.keepass', 'mg_linux_password_hash', 'password') }}"
update_password: always
groups:
- ssh
- sudo
state: present
public_ssh_key: "{{ ssh_public_key_mg }}"
allow_sudo: true
allow_passwordless_sudo: true
- username: ansible-user
password: "{{ lookup('viczem.keepass.keepass', 'ansible_user_linux_password_hash', 'password') }}"
update_password: always
groups:
- ssh
- sudo
state: present
public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE
allow_sudo: true
allow_passwordless_sudo: true
- username: postgres
password: "$6$ThboZY/siUzHZqSx$vhHAQ3EsJyXgkLyk2P8V3.H2fs4Vhh4heJxJNC/6qH5FJIGDCjrle3XcHaJk8tQoXwLpxy.Guc3jkXjqxVGJg."
update_password: always
groups:
- ssh
- sudo
state: present
allow_sudo: true
allow_passwordless_sudo: true
### geerlingguy_postgres ### geerlingguy_postgres
postgresql_databases: postgresql_databases:
- name: "{{ gitea_db_name }}" - name: "{{ gitea_db_name }}"