Use var instead of set_fact

This commit is contained in:
Shane McDonald 2021-03-02 16:16:40 -05:00
parent eba12a6207
commit e23a2b4506
2 changed files with 1 additions and 5 deletions

View File

@ -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] }}'

View File

@ -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 }} ../..