Skip to content

feat: add remove_node playbook #3565

feat: add remove_node playbook

feat: add remove_node playbook #3565

Triggered via pull request September 11, 2025 16:33
Status Success
Total duration 1m 59s
Artifacts

ansible-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
jinja[spacing]: automation/roles/etcd/tasks/member_remove.yml#L7
Jinja2 spacing could be improved: {% for host in (groups['etcd_cluster'] | difference([target_node])) -%} {{ patroni_etcd_protocol | default('http', true) }}:// {{- hostvars[host]['etcd_bind_address'] | default(hostvars[host]['bind_address'], true) }}:2379 {%- if not loop.last %},{% endif -%} {% endfor %} -> {% for host in (groups['etcd_cluster'] | difference([target_node])) -%} {{ patroni_etcd_protocol | default('http', true) }}://{{- hostvars[host]['etcd_bind_address'] | default(hostvars[host]['bind_address'], true) }}:2379{%- if not loop.last %},{% endif -%} {% endfor %}
jinja[spacing]: automation/roles/etcd/tasks/member_add.yml#L6
Jinja2 spacing could be improved: {% for host in groups['etcd_cluster'] | difference(new_etcd_nodes | default([])) -%} {{ patroni_etcd_protocol | default('http', true) }}:// {{- hostvars[host]['etcd_bind_address'] | default(hostvars[host]['bind_address'], true) }}:2379 {%- if not loop.last %},{% endif -%} {% endfor %} -> {% for host in groups['etcd_cluster'] | difference(new_etcd_nodes | default([])) -%} {{ patroni_etcd_protocol | default('http', true) }}://{{- hostvars[host]['etcd_bind_address'] | default(hostvars[host]['bind_address'], true) }}:2379{%- if not loop.last %},{% endif -%} {% endfor %}