From 254204856fe0128b84c41ae189ce146dae11b9d1 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Wed, 21 Sep 2022 13:18:16 -0500 Subject: Don't request repo updates when only testing modes (#78843) --- 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 d9895368a3..f6c4c8ee25 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