Files
awx-operator/ansible/build-and-push.yml
2020-10-05 14:59:28 -04:00

18 lines
404 B
YAML

---
- name: Build and Deploy the AWX Operator
hosts: localhost
collections:
- community.general
tasks:
- name: Build and (optionally) push operator image
docker_image:
name: "{{ operator_image }}:{{ operator_version }}"
pull: no
push: "{{ push_image | bool }}"
build:
dockerfile: "build/Dockerfile"
path: "../"
force: yes