diff --git a/roles/network_plugin/calico/tasks/install.yml b/roles/network_plugin/calico/tasks/install.yml index 7c8ce8a31fe..80ea264697b 100644 --- a/roles/network_plugin/calico/tasks/install.yml +++ b/roles/network_plugin/calico/tasks/install.yml @@ -138,7 +138,7 @@ - name: Calico | Configure calico network pool command: cmd: "{{ bin_dir }}/calicoctl.sh apply -f -" - stdin: "{{ stdin | to_json }}" + stdin: "{{ stdin }}" vars: stdin: > { "kind": "IPPool", @@ -173,7 +173,7 @@ - name: Calico | Set up BGP Configuration command: cmd: "{{ bin_dir }}/calicoctl.sh apply -f -" - stdin: "{{ stdin | to_json }}" + stdin: "{{ stdin }}" vars: stdin: > { "kind": "BGPConfiguration", @@ -194,7 +194,7 @@ - name: Calico | Configure peering with router(s) at global scope command: cmd: "{{ bin_dir }}/calicoctl.sh apply -f -" - stdin: "{{ stdin | to_json }}" + stdin: "{{ stdin }}" vars: stdin: > {"apiVersion": "projectcalico.org/v3", @@ -219,7 +219,7 @@ - name: Calico | Configure peering with route reflectors at global scope command: cmd: "{{ bin_dir }}/calicoctl.sh apply -f -" - stdin: "{{ stdin | to_json }}" + stdin: "{{ stdin }}" vars: stdin: > {"apiVersion": "projectcalico.org/v3", @@ -244,7 +244,7 @@ - name: Calico | Configure route reflectors to peer with each other command: cmd: "{{ bin_dir }}/calicoctl.sh apply -f -" - stdin: "{{ stdin | to_json }}" + stdin: "{{ stdin }}" vars: stdin: > {"apiVersion": "projectcalico.org/v3", @@ -320,7 +320,7 @@ - name: Calico | Configure node asNumber for per node peering command: cmd: "{{ bin_dir }}/calicoctl.sh apply -f -" - stdin: "{{ stdin | to_json }}" + stdin: "{{ stdin }}" vars: stdin: > {"apiVersion": "projectcalico.org/v3", @@ -347,7 +347,7 @@ - name: Calico | Configure peering with router(s) at node scope command: cmd: "{{ bin_dir }}/calicoctl.sh apply -f -" - stdin: "{{ stdin | to_json }}" + stdin: "{{ stdin }}" vars: stdin: > {"apiVersion": "projectcalico.org/v3",