deployment idempotent

This commit is contained in:
Smana 2016-07-14 21:33:24 +02:00
parent 51f55f3748
commit ab8fdba484

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"