diff --git a/playbook3_haproxy.yml b/playbook3_haproxy.yml index a6a0c22..a4c756d 100644 --- a/playbook3_haproxy.yml +++ b/playbook3_haproxy.yml @@ -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