Update file main.yml
This commit is contained in:
parent
8f69f50752
commit
f9b21ebc04
@ -4,12 +4,11 @@
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
# ========== System Update ==========
|
# ========== System Update ==========
|
||||||
- name: Update and upgrade apt packages (exclude Docker in LXC)
|
- name: Update and upgrade apt packages (full upgrade)
|
||||||
apt:
|
apt:
|
||||||
upgrade: full
|
upgrade: full
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
exclude: "{{ docker_exclude_packages_lxc if (ansible_virtualization_type in ['lxc', 'container'] and lxc_docker_pin_enabled | default(true)) else [] }}"
|
|
||||||
become: yes
|
become: yes
|
||||||
tags: [deploy_base, always]
|
tags: [deploy_base, always]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user