vitabaks / postgresql_cluster

PostgreSQL High-Availability Cluster (based on Patroni). Automating with Ansible.
https://postgresql-cluster.org
MIT License
1.69k stars 411 forks source link

etcd: compatibility with check mode #470

Closed vitabaks closed 1 year ago

vitabaks commented 1 year ago

do not install etcd in check mode

ansible-playbook --check (don't make any changes; instead, try to predict some of the changes that may occur)

Fixed:

TASK [etcd : Download "etcd" package] ******************************************
failed: [10.129.50.35] (item=https://github.com/etcd-io/etcd/releases/download/vv3.3.27/etcd-v3.3.27-linux-amd64.tar.gz) => {"ansible_loop_var": "item", "changed": false, "dest": "/tmp/", "elapsed": 0, "gid": 0, "group": "root", "item": "https://github.com/etcd-io/etcd/releases/download/v3.3.27/etcd-v3.3.27-linux-amd64.tar.gz", "mode": "01777", "msg": "Request failed", "owner": "root", "response": "HTTP Error 404: Not Found", "size": 4096, "state": "directory", "status_code": 404, "uid": 0, "url": "https://github.com/etcd-io/etcd/releases/download/v3.3.27/etcd-vv3.3.27-linux-amd64.tar.gz"}

Related PR: https://github.com/vitabaks/postgresql_cluster/pull/459

Additionally: