Skip to content

Commit

Permalink
Remove unnecessary apt-get clean command
Browse files Browse the repository at this point in the history
Fixes Remove `apt-get clean` roles #1133
  • Loading branch information
evilhamsterman committed Nov 17, 2023
1 parent 4398282 commit ab48435
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 30 deletions.
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

0 comments on commit ab48435

Please sign in to comment.