3 Star 7 Fork 4

乞丐亦异/haibinlee-ansible-roles

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
main.yml 742 Bytes
Copy Edit Raw Blame History
乞丐亦异 authored 2023-05-18 19:30 +08:00 . FIX: Percona deploy bugs
---
# tasks file for percona-xtradb-cluster
- name: Pre tasks
block:
- name: Pre-check before deploy
import_tasks: pre_check.yml
run_once: true
- name: Combine role vars and group vars
import_role:
name: pre-tasks
tasks_from: vars_combine
tags: always
- name: Bootstrap node by safe_to_boot or bootstrap
import_tasks: compose_up.yml
when:
- gcomm_nodes is falsy
- bootstrap is defined
- bootstrap
- name: Re-check before deploy
include_tasks: pre_check.yml
- name: Starting all nodes
include_tasks: compose_up.yml
when:
- gcomm_nodes is truthy
- node == global_bond_ip
loop: "{{ groups['pxc'] | sort }}"
loop_control:
loop_var: node
tags:
- cronjob
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/bottlelee/haibinlee-ansible-roles.git
git@gitee.com:bottlelee/haibinlee-ansible-roles.git
bottlelee
haibinlee-ansible-roles
haibinlee-ansible-roles
develop

Search