Fix rebase issue & remove dynamic kind/version var setting

This commit is contained in:
Christian M. Adams
2021-04-30 13:51:48 -04:00
parent cdbaf9460e
commit 5e2d11835e
11 changed files with 6 additions and 40 deletions

View File

@@ -1,10 +1,5 @@
---
- name: Set apiVersion and kind variables
set_fact:
api_version: '{{ hostvars["localhost"]["inventory_file"].split("/")[4:6] | join("/") }}'
kind: '{{ hostvars["localhost"]["inventory_file"].split("/")[6] }}'
- name: Look up details for this backup object
k8s_info:
api_version: "{{ api_version }}"