mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Use var instead of set_fact
This commit is contained in:
parent
eba12a6207
commit
e23a2b4506
@ -1,5 +1,5 @@
|
||||
---
|
||||
create_preload_data: true
|
||||
awx_image: quay.io/ansible/awx
|
||||
|
||||
# Helper vars to construct the proper download URL for the current architecture
|
||||
tini_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'
|
||||
|
||||
@ -17,10 +17,6 @@
|
||||
dest: "../awx/ui_next/public/static/media/"
|
||||
when: awx_official|default(false)|bool
|
||||
|
||||
- name: Set awx image name
|
||||
set_fact:
|
||||
awx_image: "{{ awx_image|default('awx') }}"
|
||||
|
||||
# Calling Docker directly because docker-py doesnt support BuildKit
|
||||
- name: Build AWX image
|
||||
command: docker build -t {{ awx_image }}:{{ awx_version }} -f ../../{{ dockerfile_name }} ../..
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user