summaryrefslogtreecommitdiffstats
path: root/roles/flannel_register/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/flannel_register/tasks')
-rw-r--r--roles/flannel_register/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/flannel_register/tasks/main.yml b/roles/flannel_register/tasks/main.yml
index c58c74d34..1629157c8 100644
--- a/roles/flannel_register/tasks/main.yml
+++ b/roles/flannel_register/tasks/main.yml
@@ -11,4 +11,4 @@
- name: Insert flannel configuration into etcd
sudo: true
- shell: 'curl -L --cacert "{{ etcd_peer_ca_file }}" --cert "{{ etcd_peer_cert_file }}" --key "{{ etcd_peer_key_file }}" "{{ etcd_hosts[0] }}/v2/keys{{ flannel_etcd_key }}/config" -XPUT --data-urlencode value@/etc/flannel/config.json'
+ command: 'curl -L --cacert "{{ etcd_peer_ca_file }}" --cert "{{ etcd_peer_cert_file }}" --key "{{ etcd_peer_key_file }}" "{{ etcd_hosts[0] }}/v2/keys{{ flannel_etcd_key }}/config" -XPUT --data-urlencode value@/etc/flannel/config.json'