fix: Add playbook scoped variable
This commit is contained in:
parent
bb58e287b7
commit
4c1f1fce5e
@ -2,6 +2,9 @@
|
||||
- hosts: 127.0.0.1
|
||||
connection: local
|
||||
gather_facts: true
|
||||
vars:
|
||||
# Needed by some templating in various tasks
|
||||
_newline: "\n"
|
||||
vars_files:
|
||||
- defaults.yml
|
||||
- metacluster.yml
|
||||
|
@ -109,7 +109,6 @@
|
||||
state: present
|
||||
kubeconfig: "{{ kubeconfig.path }}"
|
||||
vars:
|
||||
_newline: "\n"
|
||||
_template:
|
||||
name: "{{ item.name }}"
|
||||
namespace: "{{ item.namespace }}"
|
||||
|
@ -34,7 +34,6 @@
|
||||
vars:
|
||||
manifest: "{{ item.0 }}"
|
||||
src: "{{ item.1.src }}"
|
||||
_newline: "\n"
|
||||
_template: "{{ item.1._template }}"
|
||||
loop: "{{ query('ansible.builtin.subelements', query('ansible.builtin.dict', downstream_components), 'value.extra_manifests') }}"
|
||||
loop_control:
|
||||
|
Loading…
Reference in New Issue
Block a user