feat(o45): add configuration files for o45 host and update apt tasks for compatibility
This commit is contained in:
@@ -166,10 +166,10 @@
|
||||
- apt-configuration
|
||||
|
||||
- name: (apt.yml) apt update
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
cache_valid_time: "{{ 0 if common_apt_config_updated is defined and common_apt_config_updated.changed else apt_update_cache_valid_time }}"
|
||||
ansible.builtin.command: apt-get update # noqa: command-instead-of-module
|
||||
changed_when: false
|
||||
environment:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
when: apt_update|bool
|
||||
tags:
|
||||
- apt-update
|
||||
|
||||
Reference in New Issue
Block a user