From 19b56e7f32e31b9f77f72751155394a81b760a86 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Wed, 21 Sep 2022 17:25:27 -0500 Subject: [stable-2.11] Don't request repo updates when only testing modes (#78843) (#78852) (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 f363fd8fa9..4b4fabf3c6 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 -- cgit v1.2.1