Files
pet-project-server/playbook-homepage-registry.yml
Anton Vakhrushev 9dff413867
All checks were successful
Linting / YAML Lint (push) Successful in 9s
Linting / Ansible Lint (push) Successful in 19s
Fix linting
2025-11-28 20:37:39 +03:00

22 lines
502 B
YAML

---
- name: "Upload local homepage images to registry"
hosts: all
gather_facts: false
vars_files:
- vars/ports.yml
- vars/secrets.yml
- vars/homepage.yml
- vars/homepage.images.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