Merge branch 'feature/terraform-fix' into feature/terraform-onboard
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
name: Terraform Validate
|
||||
name: Terraform Validate
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -12,7 +13,7 @@ on:
|
||||
- synchronize
|
||||
- reopened
|
||||
jobs:
|
||||
terraform-Validate:
|
||||
terraform-validate:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -75,12 +76,12 @@ jobs:
|
||||
|
||||
- name: Copy Kube Config from remote host
|
||||
env:
|
||||
ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
||||
VAULT_MASTER_PASSWORD: ${{ secrets.VAULT_MASTER_PASSWORD }}
|
||||
ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
||||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
||||
run: |
|
||||
mkdir -p ~/.kube
|
||||
ansible -i ansible/inventory/hosts -m fetch -a "src=/home/$ANSIBLE_USER/.kube/config dest=~/.kube/config flat=yes" microk8s
|
||||
ansible -i ansible/inventory/hosts -u $ANSIBLE_USER -m fetch -a "src=/home/$ANSIBLE_USER/.kube/config dest=~/.kube/config flat=yes" microk8s
|
||||
|
||||
- name: Terraform Init
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user