Merge pull request #2324 from thedanbob/delete-matrix-scripts

Only delete playbook scripts from /usr/local/bin
This commit is contained in:
Slavi Pantaleev 2022-12-07 21:37:14 +02:00 committed by GitHub
commit 7900839d40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,20 @@
- name: Find leftover matrix scripts in /usr/local/bin - name: Find leftover matrix scripts in /usr/local/bin
ansible.builtin.find: ansible.builtin.find:
path: "/usr/local/bin" path: "/usr/local/bin"
patterns: "^matrix-.*" patterns:
use_regex: true - matrix-change-user-admin-status
- matrix-dendrite-create-account
- matrix-make-user-admin
- matrix-postgres-cli
- matrix-postgres-cli-non-interactive
- matrix-postgres-update-user-password-hash
- matrix-remove-all
- matrix-ssl-certificates-renew
- matrix-ssl-lets-encrypt-certificates-renew
- matrix-synapse-register-user
- matrix-synapse-s3-storage-provider-migrate
- matrix-synapse-s3-storage-provider-shell
- matrix-synapse-worker-write-pid
register: matrix_usr_local_bin_files_result register: matrix_usr_local_bin_files_result
- name: Ensure /usr/local/bin does not contain matrix scripts - name: Ensure /usr/local/bin does not contain matrix scripts