Explicitly run image_build and image_push on localhost

This commit is contained in:
Shane McDonald
2020-12-26 13:10:28 -05:00
parent ab6430e50d
commit 1033c4d251
3 changed files with 1 additions and 9 deletions

View File

@@ -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: