瀏覽代碼

Add a variable to control the stop tasks

pull/185/head
Stuart Mumford 7 年之前
父節點
當前提交
a4bcd7ce8f
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 60BC5C03E6276769
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. +1
    -0
      roles/matrix-base/defaults/main.yml
  2. +1
    -0
      roles/matrix-common-after/tasks/main.yml

+ 1
- 0
roles/matrix-base/defaults/main.yml 查看文件

@@ -47,6 +47,7 @@ run_setup: true
run_import_postgres: true
run_upgrade_postgres: true
run_start: true
run_stop: true
run_register_user: true
run_update_user_password: true
run_import_sqlite_db: true


+ 1
- 0
roles/matrix-common-after/tasks/main.yml 查看文件

@@ -4,5 +4,6 @@
- start

- import_tasks: "{{ role_path }}/tasks/stop.yml"
when: run_stop
tags:
- stop

Loading…
取消
儲存