summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2022-09-21 13:18:16 -0500
committerGitHub <noreply@github.com>2022-09-21 11:18:16 -0700
commit254204856fe0128b84c41ae189ce146dae11b9d1 (patch)
tree21c63a9ff4bb8e649808ad3af4b5892f4b9699ba
parentad16c5804ce92872a8c6c0ad9ccde56fba81403e (diff)
downloadansible-254204856fe0128b84c41ae189ce146dae11b9d1.tar.gz
Don't request repo updates when only testing modes (#78843)
-rw-r--r--test/integration/targets/apt_repository/tasks/mode.yaml5
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 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