summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-07-11 13:42:28 +0300
committerLars Wirzenius <liw@liw.fi>2022-07-11 13:42:28 +0300
commit48730af77bfd45478250a52e747b00a36f716e47 (patch)
tree57ac3dd879b96d320c53f3b6e9c7715790f82fed
parent457765f26dd25667ccbc5ac8f9761abfe25f6d4f (diff)
downloaddebian-ansible-48730af77bfd45478250a52e747b00a36f716e47.tar.gz
chore(sane_debian_system role): run off Ansible warning about
Ansible warns about using apt-get instead of the apt module. However, I don't think the module can do what the command does. Shut up the warning. Sponsored-by: author
-rw-r--r--roles/sane_debian_system/tasks/apt.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/sane_debian_system/tasks/apt.yml b/roles/sane_debian_system/tasks/apt.yml
index fcc4c11..9bf6086 100644
--- a/roles/sane_debian_system/tasks/apt.yml
+++ b/roles/sane_debian_system/tasks/apt.yml
@@ -74,6 +74,8 @@
- name: update package lists
shell: |
apt-get update --allow-releaseinfo-change
+ args:
+ warn: false
- name: add archive keyrings
with_items: "{{ sane_debian_system_sources_lists }}"