Refactor file path and update workflow name in actions-validate.yml
Add setup-terraform-env action.yml Update setup-k8s-env action.yml with ssh-auth-sock input
This commit is contained in:
@@ -10,6 +10,9 @@ inputs:
|
||||
k8s-target:
|
||||
description: "The target host to deploy the K8S applications"
|
||||
default: "microk8s"
|
||||
ssh-auth-sock:
|
||||
description: "The SSH_AUTH_SOCK environment variable"
|
||||
default: "/tmp/ssh_agent.sock"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
@@ -19,7 +22,7 @@ runs:
|
||||
env:
|
||||
VAULT_MASTER_PASSWORD: ${{ inputs.vault-master-password }}
|
||||
ANSIBLE_USER: ${{ inputs.ansible-user }}
|
||||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
||||
SSH_AUTH_SOCK: ${{ inputs.ssh-auth-sock }}
|
||||
K8S_TARGET: ${{ inputs.k8s-target }}
|
||||
run: |
|
||||
mkdir -p ~/.kube
|
||||
@@ -30,7 +33,7 @@ runs:
|
||||
env:
|
||||
VAULT_MASTER_PASSWORD: ${{ inputs.vault-master-password }}
|
||||
ANSIBLE_USER: ${{ inputs.ansible-user }}
|
||||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
||||
SSH_AUTH_SOCK: ${{ inputs.ssh-auth-sock }}
|
||||
K8S_TARGET: ${{ inputs.k8s-target }}
|
||||
run: |
|
||||
# Get Hostname and IP address of the target
|
||||
|
||||
Reference in New Issue
Block a user