Refactor file path in actions-validate.yml and update input parameters for vault master password, ansible user, and trusted hosts

This commit is contained in:
2024-09-29 19:04:21 +02:00
parent e5e63f9699
commit ce7bfde872
2 changed files with 2 additions and 10 deletions
+1 -9
View File
@@ -25,15 +25,7 @@ runs:
mkdir -p ~/.kube
ansible -i ansible/inventory/hosts -u $ANSIBLE_USER -m fetch -a "src=/home/$ANSIBLE_USER/.kube/config dest=~/.kube/config flat=yes" $K8S_TARGET
- name: Terraform Init
shell: bash
env:
VAULT_MASTER_PASSWORD: ${{ inputs.vault-master-password }}
run: |
cd terraform/k8sapps
sectool exec terraform init
- name: Terraform Apply
- name: Forward K8S API Server port
shell: bash
env:
VAULT_MASTER_PASSWORD: ${{ inputs.vault-master-password }}
+1 -1
View File
@@ -88,7 +88,7 @@ jobs:
- name: Test kubectl get nodes
run: |
kubectl get nodes
kubectl get nodes --insecure-skip-tls-verify
- name: Test terraform
run: |