mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 08:17:39 -02:30
Explicitly run image_build and image_push on localhost
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
password: "{{ docker_registry_password }}"
|
||||
reauthorize: true
|
||||
when: docker_registry is defined and docker_registry_password is defined
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Remove local images to ensure proper push behavior
|
||||
block:
|
||||
@@ -15,7 +14,6 @@
|
||||
name: "{{ docker_registry }}/{{ docker_registry_repository }}/{{ awx_image }}"
|
||||
tag: "{{ awx_version }}"
|
||||
state: absent
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Tag and Push Container Images
|
||||
block:
|
||||
@@ -28,7 +26,6 @@
|
||||
with_items:
|
||||
- "latest"
|
||||
- "{{ awx_version }}"
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Set full image path for Registry
|
||||
set_fact:
|
||||
|
||||
Reference in New Issue
Block a user