Merge branch 'feature/terraform-fix' into feature/terraform-onboard
This commit is contained in:
@@ -72,12 +72,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy Kube Config from remote host
|
- name: Copy Kube Config from remote host
|
||||||
env:
|
env:
|
||||||
ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
|
||||||
VAULT_MASTER_PASSWORD: ${{ secrets.VAULT_MASTER_PASSWORD }}
|
VAULT_MASTER_PASSWORD: ${{ secrets.VAULT_MASTER_PASSWORD }}
|
||||||
|
ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
||||||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.kube
|
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
|
- name: Terraform Init
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
name: Terraform Validate
|
name: Terraform Validate
|
||||||
|
name: Terraform Validate
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -12,7 +13,7 @@ on:
|
|||||||
- synchronize
|
- synchronize
|
||||||
- reopened
|
- reopened
|
||||||
jobs:
|
jobs:
|
||||||
terraform-Validate:
|
terraform-validate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -75,12 +76,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy Kube Config from remote host
|
- name: Copy Kube Config from remote host
|
||||||
env:
|
env:
|
||||||
ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
|
||||||
VAULT_MASTER_PASSWORD: ${{ secrets.VAULT_MASTER_PASSWORD }}
|
VAULT_MASTER_PASSWORD: ${{ secrets.VAULT_MASTER_PASSWORD }}
|
||||||
|
ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
||||||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.kube
|
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
|
- name: Terraform Init
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user