diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-02-13 23:10:06 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-02-13 23:16:09 +0100 |
commit | b1f371ec9d587e3727e85afe34473ed154d1fc48 (patch) | |
tree | 8bdb6ba50c499d77262bfa9cb5a845353c9cdcd4 /group_vars | |
parent | 2a53a9778d87e6f525c6cf4f23052f1f3d35911e (diff) | |
download | rules-b1f371ec9d587e3727e85afe34473ed154d1fc48.tar.gz |
feat(roles/nextcloud): automate with occ
Diffstat (limited to 'group_vars')
-rw-r--r-- | group_vars/all.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml index ca98ea6..ee658c1 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -35,6 +35,16 @@ __global_services: # roles overrides +nextcloud__db_password: "{{ lookup( + 'ansible.builtin.password', + 'secrets/files/passwords/' + inventory_hostname + '_nextcloud__db.txt', + )}}" +nextcloud__admin_password: "{{ lookup( + 'ansible.builtin.password', + 'secrets/files/passwords/' + inventory_hostname + '_nextcloud__admin.txt', + )}}" +nextcloud__admin_email: contact@rgoncalves.se + httpd__log_format: forwarded wireguard_domain_controller: "{{ __global_domain_controller }}" @@ -82,3 +92,13 @@ sshd_keys__users: "[ {{ user.username }}, {% endfor %} ]" + +nextcloud__users: "[ + {% for user in __users %} + {{ { + 'username': user.username, + 'fullname': user.firstname + ' ' + user.lastname, + 'email': user.email, + } }}, + {% endfor %} + ]" |