|
|
|
@@ -73,10 +73,10 @@ |
|
|
|
mode: 0750 |
|
|
|
when: matrix_postgres_enabled|bool |
|
|
|
|
|
|
|
- name: Ensure matrix-make-user-admin script created |
|
|
|
- name: Ensure matrix-change-user-admin-status script created |
|
|
|
template: |
|
|
|
src: "{{ role_path }}/templates/usr-local-bin/matrix-make-user-admin.j2" |
|
|
|
dest: "/usr/local/bin/matrix-make-user-admin" |
|
|
|
src: "{{ role_path }}/templates/usr-local-bin/matrix-change-user-admin-status.j2" |
|
|
|
dest: "/usr/local/bin/matrix-change-user-admin-status" |
|
|
|
mode: 0750 |
|
|
|
when: matrix_postgres_enabled|bool |
|
|
|
|
|
|
|
@@ -146,6 +146,6 @@ |
|
|
|
state: absent |
|
|
|
with_items: |
|
|
|
- matrix-postgres-cli |
|
|
|
- matrix-make-user-admin |
|
|
|
- matrix-change-user-admin-status |
|
|
|
- matrix-postgres-update-user-password-hash |
|
|
|
when: "not matrix_postgres_enabled|bool" |