Skip to content

Commit

Permalink
fix: include_tasks over include
Browse files Browse the repository at this point in the history
  • Loading branch information
kameshsampath committed Jan 10, 2022
1 parent 2e42b6d commit e055aed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/role_istio.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Argocd
summary: Ansible Role to install Argocd
summary: Ansible Role to install Istio
authors:
- Kamesh Sampath<kamesh.sampath@hotmail.com>
date: 2021-12-01
Expand Down
3 changes: 2 additions & 1 deletion roles/istio/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
bin_dir: "{{ bin_dir | default( work_dir + '/bin' ) }}"

- name: "Ensure {{ bin_dir}}"
ansible.builtin.file:
run_once: yes
file:
state: directory
path: "{{ bin_dir }}"

Expand Down
6 changes: 3 additions & 3 deletions roles/istio/tasks/operator_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
context: "{{ kubernetes_spices_istio_k8s_context }}"

- name: "Wait for Istio Operator to be ready"
include: utils/status_check.yml
include_tasks: utils/status_check.yml
vars:
deployment_name: "istio-operator-{{ kubernetes_spices_istio_revision }}"
deployment_namespace: "{{ kubernetes_spices_istio_operator_namespace }}"
Expand All @@ -158,7 +158,7 @@
delay: 10

- name: "Wait for Istio Control Plane to be ready"
include: utils/status_check.yml
include_tasks: utils/status_check.yml
vars:
deployment_name: "{{ kubernetes_spices_istio_cp_item.metadata.name }}"
deployment_namespace: "{{ kubernetes_spices_istio_namespace }}"
Expand Down Expand Up @@ -188,7 +188,7 @@
delay: 10

- name: "Wait for Istio Gateweays to be ready"
include: utils/status_check.yml
include_tasks: utils/status_check.yml
vars:
deployment_name: "{{ kubernetes_spices_istio_gw_item.metadata.name }}"
deployment_namespace: "{{ kubernetes_spices_istio_gateways_namespace }}"
Expand Down

0 comments on commit e055aed

Please sign in to comment.