deployment idempotent

This commit is contained in:
Smana 2016-07-14 21:33:24 +02:00
parent 6e1870e5b4
commit 28204d18cb

View file

@ -3,6 +3,7 @@
command: rsync -piu "{{ etcd_bin_dir }}/etcd" "{{ bin_dir }}/etcd" command: rsync -piu "{{ etcd_bin_dir }}/etcd" "{{ bin_dir }}/etcd"
when: etcd_deployment_type == "host" when: etcd_deployment_type == "host"
register: etcd_copy register: etcd_copy
changed_when: false
- name: Install | Copy etcdctl binary from downloaddir - name: Install | Copy etcdctl binary from downloaddir
command: rsync -piu "{{ etcd_bin_dir }}/etcdctl" "{{ bin_dir }}/etcdctl" command: rsync -piu "{{ etcd_bin_dir }}/etcdctl" "{{ bin_dir }}/etcdctl"