diff options
author | Matt Martz <matt@sivel.net> | 2022-09-21 17:25:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-21 15:25:27 -0700 |
commit | 19b56e7f32e31b9f77f72751155394a81b760a86 (patch) | |
tree | 50c392c3212670645bd78a1a1896db49e3d80cc4 | |
parent | 88e8e95dd96fec8721ae4381761e3ff4844b6458 (diff) | |
download | ansible-19b56e7f32e31b9f77f72751155394a81b760a86.tar.gz |
[stable-2.11] Don't request repo updates when only testing modes (#78843) (#78852)
(cherry picked from commit 2542048)
Co-authored-by: Matt Martz <matt@sivel.net>
-rw-r--r-- | test/integration/targets/apt_repository/tasks/mode.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
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 |