revert parts of "506fa8da8d" (explanation inline) #217
1 changed files with 33 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue