diff options
author | Sylvain Baubeau <sbaubeau@redhat.com> | 2015-10-15 14:44:59 +0200 |
---|---|---|
committer | Sylvain Baubeau <sbaubeau@redhat.com> | 2015-10-27 17:42:57 +0100 |
commit | 4904ae9603d3a613f872e0cf2b7a84d852b73b40 (patch) | |
tree | a52bd851630bfcaaf25e660e8dec8fda125d1e0c /roles | |
parent | 2d084a816d4af52f7cffe3ddb913e2b4555b7d23 (diff) | |
download | openshift-4904ae9603d3a613f872e0cf2b7a84d852b73b40.tar.gz openshift-4904ae9603d3a613f872e0cf2b7a84d852b73b40.tar.bz2 openshift-4904ae9603d3a613f872e0cf2b7a84d852b73b40.tar.xz openshift-4904ae9603d3a613f872e0cf2b7a84d852b73b40.zip |
Use 'command' module instead of 'shell'
Diffstat (limited to 'roles')
-rw-r--r-- | roles/flannel_register/tasks/main.yml | 2 |
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' |