mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-12-17 03:34:28 +00:00
[deploy-opentofu]
This commit is contained in:
@ -10,5 +10,10 @@
|
|||||||
dest: /tmp/stolon/kubernetes-files
|
dest: /tmp/stolon/kubernetes-files
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
- name: Aplicar os YAMLs com kubectl
|
- name: Aplicar o stolon
|
||||||
command: kubectl apply -f /tmp/stolon/kubernetes-files
|
become: yes
|
||||||
|
become_user: fenix
|
||||||
|
shell: |
|
||||||
|
kubectl apply -f /tmp/stolon/kubernetes-files .
|
||||||
|
environment:
|
||||||
|
KUBECONFIG: /home/fenix/.kube/config
|
||||||
Reference in New Issue
Block a user