diff --git a/roles/stolon/tasks/main.yml b/roles/stolon/tasks/main.yml index f11c124..bee4eba 100644 --- a/roles/stolon/tasks/main.yml +++ b/roles/stolon/tasks/main.yml @@ -60,11 +60,11 @@ environment: KUBECONFIG: /home/fenix/.kube/config -- name: Aplicar o stolon - become: yes - become_user: fenix - shell: | - kubectl run -i -n=postgresql -t stolonctl --image=sorintlab/stolon:master-pg10 --restart=Never --rm -- /usr/local/bin/stolonctl --cluster-name=kube-stolon --store-backend=kubernetes --kube-resource-kind=configmap init - when: stolon_cluster_check.rc != 0 - environment: - KUBECONFIG: /home/fenix/.kube/config \ No newline at end of file +#- name: Aplicar o stolon +# become: yes +# become_user: fenix +# shell: | +# kubectl run -i -n=postgresql -t stolonctl --image=sorintlab/stolon:master-pg10 --restart=Never --rm -- /usr/local/bin/stolonctl --cluster-name=kube-stolon --store-backend=kubernetes --kube-resource-kind=configmap init +# when: stolon_cluster_check.rc != 0 +# environment: +# KUBECONFIG: /home/fenix/.kube/config \ No newline at end of file