Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary apt-get clean command #1134

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions roles/zabbix_agent/tasks/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,6 @@
tags:
- install

- name: "Debian | apt-get clean"
ansible.builtin.shell: apt-get clean; apt-get update
args:
warn: "{{ produce_warn | default(omit) }}"
changed_when: false
become: true
tags:
- skip_ansible_lint
- install

- name: "Debian | Installing zabbix-agent"
ansible.builtin.apt:
pkg: "{{ zabbix_agent_package }}"
Expand Down
10 changes: 0 additions & 10 deletions roles/zabbix_server/tasks/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,6 @@
tags:
- install

- name: "Debian | apt-get clean"
ansible.builtin.shell: apt-get clean; apt-get update
args:
warn: "{{ produce_warn | default(omit) }}"
changed_when: false
become: true
tags:
- skip_ansible_lint
- install

# On certain 18.04 images, such as docker or lxc, dpkg is configured not to
# install files into paths /usr/share/doc/*
# Since this is where Zabbix installs its database schemas, we need to allow
Expand Down
10 changes: 0 additions & 10 deletions roles/zabbix_web/tasks/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,6 @@
tags:
- install

- name: "Debian | apt-get clean"
ansible.builtin.shell: apt-get clean; apt-get update
args:
warn: "{{ produce_warn | default(omit) }}"
changed_when: false
become: true
tags:
- skip_ansible_lint
- install

- name: "Debian | Install zabbix-web"
ansible.builtin.apt:
pkg: "zabbix-frontend-php"
Expand Down