Merge pull request #359 from kubespray/fix_351

deployment idempotent
This commit is contained in:
Smaine Kahlouch 2016-07-14 21:34:21 +02:00 committed by GitHub
commit 192136df20

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"