revert parts of "506fa8da8d" (explanation inline) #217

Merged
mg merged 33 commits from dbg into master 2024-10-23 22:55:42 +02:00
Showing only changes of commit f6513024f6 - Show all commits

View file

@ -22,6 +22,38 @@ apt_packages_extra:
### mgrote_restic
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: "{{ gitea_db_user }}"
password: "{{ gitea_db_password }}"
update_password: always
groups:
- ssh
- sudo
state: present
# allow_sudo: true
# allow_passwordless_sudo: true
### geerlingguy_postgres
postgresql_databases:
- name: "{{ gitea_db_name }}"
@ -29,7 +61,7 @@ postgresql_users:
- name: "{{ gitea_db_user }}"
password: "{{ gitea_db_password }}"
postgres_users_no_log: false
postgres_users_no_log: false # TODO wieder weg
### oefenweb.ufw
ufw_rules: