shell: | argocd cluster list | grep gke-devops register: k8s - debug: var=k8s.stdout - name: Adding cluster to ArgoCD server shell: | argocd cluster add {{k8s.stdout}}
'' argocd cluster list | grep gke-devops''
https://34.68.21.68 gke_ec2nf-256816_us-central1_gke-devops 1.16+ Successful
Note: so I want only "https://34.68.21.68" '' Please help me!
1.4m articles
1.4m replys
5 comments
57.0k users