Files
pet-project-server/playbook-homepage-registry.yml
T
av 10e1e8187b
Linting / YAML Lint (push) Has been cancelled
Linting / Ansible Lint (push) Has been cancelled
Migration: fix vars in playbooks
2026-05-22 20:52:47 +03:00

21 lines
470 B
YAML

---
- name: "Upload local homepage images to registry"
hosts: all
gather_facts: false
vars_files:
- vars/secrets.yml
- vars/vars.yml
- vars/homepage.yml
tasks:
- name: "Push web service image to remote registry"
community.docker.docker_image:
state: present
source: local
name: "{{ homepage_nginx_image }}"
repository: "{{ registry_homepage_nginx_image }}"
push: true
delegate_to: 127.0.0.1