Comment out the apt update and upgrade steps in playbook.yml to prevent unnecessary package updates during execution, streamlining the playbook's operation.

This commit is contained in:
vvzvlad 2025-01-20 10:25:43 +03:00
parent 15f277057e
commit 82e6047e86

View File

@ -94,13 +94,13 @@
line: "127.0.1.1 {{ serverid }}"
state: present
- name: Update and upgrade apt
ansible.builtin.apt:
update_cache: true
upgrade: dist
force_apt_get: true
register: apt_update_result
until: apt_update_result is success
#- name: Update and upgrade apt
# ansible.builtin.apt:
# update_cache: true
# upgrade: dist
# force_apt_get: true
# register: apt_update_result
# until: apt_update_result is success
- name: Install necessary packages
ansible.builtin.apt: