浏览代码

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

Only delete playbook scripts from /usr/local/bin
pull/2326/head
Slavi Pantaleev 3 年前
committed by GitHub
父节点
当前提交
7900839d40
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 14 次插入2 次删除
  1. +14
    -2
      roles/custom/matrix_playbook_migration/tasks/cleanup_usr_local_bin.yml

+ 14
- 2
roles/custom/matrix_playbook_migration/tasks/cleanup_usr_local_bin.yml 查看文件

@@ -3,8 +3,20 @@
- name: Find leftover matrix scripts in /usr/local/bin
ansible.builtin.find:
path: "/usr/local/bin"
patterns: "^matrix-.*"
use_regex: true
patterns:
- 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

- name: Ensure /usr/local/bin does not contain matrix scripts


正在加载...
取消
保存