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

@@ -113,12 +113,6 @@
awx_postgres_host: "{{ pg_config['resources'][0]['data']['host'] | b64decode }}"
awx_postgres_sslmode: "{{ pg_config['resources'][0]['data']['sslmode'] | default('prefer'|b64encode) | b64decode }}"
- 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 deployment
k8s_info:
api_version: "{{ api_version }}"