From 0f5fdc3862e140cb14460c16e4dd211040f1a36d Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Wed, 18 Mar 2020 09:54:26 -0500 Subject: [PATCH] Fixes #32: Switch from k8s_facts to k8s_info in main tasks file. --- roles/tower/tasks/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/tower/tasks/main.yml b/roles/tower/tasks/main.yml index 8368b390..34f68e00 100644 --- a/roles/tower/tasks/main.yml +++ b/roles/tower/tasks/main.yml @@ -12,8 +12,7 @@ - tower_task.yaml.j2 - name: Get the Tower pod information. - # TODO: Change to k8s_info after Ansible 2.9.0 is available in Operator image. - k8s_facts: + k8s_info: kind: Pod namespace: '{{ meta.namespace }}' label_selectors: