Обновить playbook3_haproxy.yml

This commit is contained in:
2026-04-06 05:20:39 +00:00
parent 4fd9aed61d
commit dc3b3b298b

View File

@@ -16,16 +16,6 @@
ansible.builtin.package:
name: nginx
state: present
# update_cache: no # Не обновляем кэш автоматически
ignore_errors: true # Игнорируем ошибки если пакет не найден
tags:
- nginx
- name: Install Nginx if package cache is outdated
ansible.builtin.command:
cmd: apt-get install -y nginx
when: nginx_install is failed
register: nginx_install_cmd
tags:
- nginx