mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
16 lines
472 B
YAML
16 lines
472 B
YAML
---
|
|
- name: Build kustomize testing overlay
|
|
# load_restrictor must be set to none so we can load patch files from the default overlay
|
|
command: '{{ kustomize }} build --load-restrictor LoadRestrictionsNone .'
|
|
args:
|
|
chdir: '{{ config_dir }}/testing'
|
|
register: resources
|
|
changed_when: false
|
|
|
|
- name: Set resources to {{ state }}
|
|
k8s:
|
|
definition: '{{ item }}'
|
|
state: '{{ state }}'
|
|
wait: yes
|
|
loop: '{{ resources.stdout | from_yaml_all | list }}'
|