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:
parent
15f277057e
commit
82e6047e86
14
playbook.yml
14
playbook.yml
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user