Skip to content

Commit

Permalink
ansible: fix tag error
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanHai authored and ilixiaocui committed Apr 27, 2021
1 parent 91cf0d7 commit 7c70577
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions curve-ansible/deploy_curve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@
- { role: generate_config, template_name: chunkserver.conf, conf_path: "{{ chunkserver_conf_path }}",
tags: ["generate_config", "generage_chunkserver_conf"] }
- { role: generate_config, template_name: client.conf, conf_path: "{{ chunkserver_client_config_path }}",
tags: ["generate_config", "generage_chunkserver_conf"] }
tags: ["generate_config", "generage_chunkserver_client_conf"] }
- { role: generate_config, template_name: s3.conf, conf_path: "{{ chunkserver_s3_config_path }}",
tags: ["generate_config", "generage_s3_conf"] }
tags: ["generate_config", "generage_cs_s3_conf"] }

- name: start chunkserver
hosts: chunkservers
Expand Down Expand Up @@ -169,7 +169,7 @@
- { role: generate_config, template_name: client.conf, conf_path: "{{ snap_client_config_path }}",
tags: ["generate_config", "generate_snap_client_conf"] }
- { role: generate_config, template_name: s3.conf, conf_path: "{{ snap_s3_config_path }}",
tags: ["generate_config", "generage_s3_conf"] }
tags: ["generate_config", "generage_snap_s3_conf"] }

- name: start snapshotcloneserver
hosts: snapshotclone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
shell: sudo ./chunkserver_ctl.sh deploy-wal-pool all --noConfirm
async: 0
poll: 3
when: not retain_pool | bool and not walfilepool_use_chunk_file_pool | bool
when: (not retain_pool | bool) and (not walfilepool_use_chunk_file_pool | bool)
4 changes: 2 additions & 2 deletions curve-ansible/rolling_update_curve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
- { role: generate_config, template_name: client.conf, conf_path: "{{ chunkserver_client_config_path }}",
tags: ["generate_config", "generage_chunkserver_client_conf"] }
- { role: generate_config, template_name: s3.conf, conf_path: "{{ chunkserver_s3_config_path }}",
tags: ["generate_config", "generage_s3_conf"] }
tags: ["generate_config", "generage_cs_s3_conf"] }

# 逐个重启chunkserver,每重启完一个需要等待copyset健康
# 继续操作下一个的的时候还需要一个命令行交互确认
Expand Down Expand Up @@ -175,7 +175,7 @@
- { role: generate_config, template_name: client.conf, conf_path: "{{ snap_client_config_path }}",
tags: ["generate_config", "generate_snap_client_conf"] }
- { role: generate_config, template_name: s3.conf, conf_path: "{{ snap_s3_config_path }}",
tags: ["generate_config", "generage_s3_conf"] }
tags: ["generate_config", "generage_snap_s3_conf"] }

- name: set leader and follower list
hosts: snapshotclone
Expand Down

0 comments on commit 7c70577

Please sign in to comment.