From 0d68ce2efb71eaf4f5c9f402670f79e9c80a52a3 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Wed, 21 Sep 2022 17:25:14 -0500 Subject: [PATCH] [stable-2.12] Don't request repo updates when only testing modes (#78843) (#78851) (cherry picked from commit 2542048) Co-authored-by: Matt Martz --- test/integration/targets/apt_repository/tasks/mode.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/integration/targets/apt_repository/tasks/mode.yaml b/test/integration/targets/apt_repository/tasks/mode.yaml index f363fd8fa93..4b4fabf3c67 100644 --- a/test/integration/targets/apt_repository/tasks/mode.yaml +++ b/test/integration/targets/apt_repository/tasks/mode.yaml @@ -20,6 +20,7 @@ repo: "{{ test_repo_spec }}" state: present mode: 0600 + update_cache: false register: mode_given_results - name: Gather mode_given_as_literal_yaml stat @@ -41,6 +42,7 @@ apt_repository: repo: "{{ test_repo_spec }}" state: present + update_cache: false register: no_mode_results - name: Gather no mode stat @@ -63,6 +65,7 @@ repo: "{{ test_repo_spec }}" state: present mode: "0600" + update_cache: false register: mode_given_string_results - name: Gather mode_given_string stat @@ -81,6 +84,7 @@ repo: "{{ test_repo_spec }}" state: present mode: "600" + update_cache: false register: mode_given_string_600_results - name: Gather mode_given_600_string stat @@ -103,6 +107,7 @@ repo: "{{ test_repo_spec }}" state: present mode: 600 + update_cache: false register: mode_given_short_results - name: Gather mode_given_yaml_literal_600 stat