Update roles/stolon/tasks/main.yml

This commit is contained in:
2025-11-07 11:29:39 +00:00
parent d47040565a
commit d6d5a94fd1

View File

@ -60,11 +60,11 @@
environment: environment:
KUBECONFIG: /home/fenix/.kube/config KUBECONFIG: /home/fenix/.kube/config
- name: Aplicar o stolon #- name: Aplicar o stolon
become: yes # become: yes
become_user: fenix # become_user: fenix
shell: | # 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 # 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 # when: stolon_cluster_check.rc != 0
environment: # environment:
KUBECONFIG: /home/fenix/.kube/config # KUBECONFIG: /home/fenix/.kube/config