summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Baubeau <sbaubeau@redhat.com>2015-10-15 14:44:59 +0200
committerSylvain Baubeau <sbaubeau@redhat.com>2015-10-27 17:42:57 +0100
commit4904ae9603d3a613f872e0cf2b7a84d852b73b40 (patch)
treea52bd851630bfcaaf25e660e8dec8fda125d1e0c
parent2d084a816d4af52f7cffe3ddb913e2b4555b7d23 (diff)
downloadopenshift-4904ae9603d3a613f872e0cf2b7a84d852b73b40.tar.gz
openshift-4904ae9603d3a613f872e0cf2b7a84d852b73b40.tar.bz2
openshift-4904ae9603d3a613f872e0cf2b7a84d852b73b40.tar.xz
openshift-4904ae9603d3a613f872e0cf2b7a84d852b73b40.zip
Use 'command' module instead of 'shell'
-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'