diff options
author | 2017-12-21 04:03:11 +0000 | |
---|---|---|
committer | 2017-12-21 04:03:11 +0000 | |
commit | caf867c3a6d3c44572727890d22ff10ef96eb254 (patch) | |
tree | 9e443e471f4d7863b965441d0a8504b6c3a1a010 /deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml | |
parent | 4e9213e2facda368233187c469e12b88f0a9de7a (diff) | |
parent | 0408e12d0892a634cf63fcf384974797291d9fa2 (diff) |
Merge "deploy/k8s: support k8s deployment on aarch64"
Diffstat (limited to 'deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml')
-rw-r--r-- | deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml index 4df8dffa..2763e53e 100644 --- a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml +++ b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml @@ -96,9 +96,18 @@ regexp: '^helm_enabled:' line: 'helm_enabled: {{ helm_flag }}' +- name: copy overrided variables + copy: + src: "{{ item }}" + dest: /opt/kargo_k8s/extra-vars.yml + with_first_found: + - extra-vars-{{ ansible_architecture }}.yml + - extra-vars.yml + - name: run kargo playbook shell: | cd /opt/kargo_k8s - ansible-playbook -i inventory/inventory.cfg cluster.yml -b -v 2>&1 | tee kargo.log + ansible-playbook -i inventory/inventory.cfg cluster.yml \ + -e "@extra-vars.yml" -b -v 2>&1 | tee kargo.log tags: - ansible |