Skip to content

Commit a95b75a

Browse files
committed
Deduplicate AWS and GCP cluster bootstrap by extracting shared tasks
Extract common cluster initialization, defaults, and VIP management into three shared task files included by both aws-cluster-bootstrap and gcp-cluster-bootstrap. Provider-specific logic (credentials, STONITH, cluster IP) remains inlined in each bootstrap wrapper. This eliminates ~300 lines of duplicated Ansible tasks while keeping provider-specific steps easy to follow without file indirection. New shared files: - cluster-bootstrap-init.yaml: corosync/pacemaker setup, authkeys - cluster-bootstrap-defaults.yaml: stonith, stickiness, timeouts - cluster-bootstrap-vip.yaml: cluster IP locate/move/clear
1 parent e306836 commit a95b75a

6 files changed

Lines changed: 483 additions & 760 deletions

File tree

0 commit comments

Comments
 (0)