mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-06 21:32:52 +00:00
Refactor how awx-operator.yaml is rendered out
This commit is contained in:
12
ansible/awx-operator.yaml.j2
Normal file
12
ansible/awx-operator.yaml.j2
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#jinja2: trim_blocks:False
|
||||||
|
# This file is generated by Ansible. Changes will be lost.
|
||||||
|
# Update templates under ansible/templates/
|
||||||
|
{% include 'role.yml.j2' %}
|
||||||
|
|
||||||
|
{% include 'role_binding.yml.j2' %}
|
||||||
|
|
||||||
|
{% include 'service_account.yml.j2' %}
|
||||||
|
|
||||||
|
{% include 'operator.yml.j2' %}
|
||||||
|
|
||||||
|
{% include 'crd.yml.j2' %}
|
||||||
@@ -12,13 +12,6 @@
|
|||||||
dest: "{{ playbook_dir }}/../deploy/crds/awx_v1beta1_crd.yaml"
|
dest: "{{ playbook_dir }}/../deploy/crds/awx_v1beta1_crd.yaml"
|
||||||
|
|
||||||
- name: Template awx-operator.yaml
|
- name: Template awx-operator.yaml
|
||||||
copy:
|
template:
|
||||||
content: |
|
src: awx-operator.yaml.j2
|
||||||
# This file is generated by Ansible. Changes will be lost.
|
|
||||||
# Update templates under ansible/templates/
|
|
||||||
{{ lookup('template', 'role.yml.j2') }}
|
|
||||||
{{ lookup('template', 'role_binding.yml.j2') }}
|
|
||||||
{{ lookup('template', 'service_account.yml.j2') }}
|
|
||||||
{{ lookup('template', 'operator.yml.j2') }}
|
|
||||||
{{ lookup('template', 'crd.yml.j2') }}
|
|
||||||
dest: ../deploy/awx-operator.yaml
|
dest: ../deploy/awx-operator.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user