[PATCH v1 2/8] devconfig: Remove "dnf update" optimizations for terraform hosts
Chuck Lever <[email protected]>
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
From: Chuck Lever <[email protected]> Using the fastest mirror seems to have some negative consequences when done on cloud systems. Signed-off-by: Chuck Lever <[email protected]> --- playbooks/roles/devconfig/tasks/install-deps/redhat/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/roles/devconfig/tasks/install-deps/redhat/main.yml b/playbooks/roles/devconfig/tasks/install-deps/redhat/main.yml index d7fef691adf9..1a287cf1885c 100644 --- a/playbooks/roles/devconfig/tasks/install-deps/redhat/main.yml +++ b/playbooks/roles/devconfig/tasks/install-deps/redhat/main.yml @@ -40,6 +40,8 @@ line: "fastestmirror=true" path: "/etc/dnf/dnf.conf" state: present + when: + - not kdevops_enable_terraform|bool - name: Increase the maximum number of concurrent package downloads become: true @@ -49,6 +51,8 @@ line: "max_parallel_downloads=10" path: "/etc/dnf/dnf.conf" state: present + when: + - not kdevops_enable_terraform|bool - name: Refresh cache and upgrade all present packages become: true -- 2.51.0