您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
21 行
470 B
21 行
470 B
---
|
|
|
|
- name: Create the archive dir
|
|
file:
|
|
path: "{{ appsmith_root_dir }}/archives/{{ appsmith_current_version }}"
|
|
state: directory
|
|
tags: appsmith
|
|
|
|
- name: Archive previous version
|
|
synchronize:
|
|
src: "{{ appsmith_root_dir }}/{{ item }}"
|
|
dest: "{{ appsmith_root_dir }}/archives/{{ appsmith_current_version }}"
|
|
recursive: True
|
|
delete: True
|
|
loop:
|
|
- server
|
|
- client
|
|
- etc
|
|
delegate_to: "{{ inventory_hostname }}"
|
|
tags: appsmith
|
|
|
|
|