Compare commits

...

3 commits

4 changed files with 5 additions and 22 deletions

View file

@ -1,9 +0,0 @@
---
- name: Configure auto-upgrades
ansible.builtin.template:
src: apt-minimal
dest: /etc/apt/apt.conf.d/20minimal
owner: root
group: root
mode: 0644

View file

@ -1,14 +1,7 @@
---
- name: Install node-exporter
- name: Install or remove prometheus node-exporter
ansible.builtin.apt:
name: prometheus-node-exporter
state: present
when: node_exporter
- name: Remove node-exporter
ansible.builtin.apt:
name: prometheus-node-exporter
state: absent
state: "{% if node_exporter %}present{% else %}absent{% endif %}"
autoremove: yes
when: not node_exporter

View file

@ -1,4 +0,0 @@
# Managed by Ansible
APT::Install-Recommends "0";
APT::Install-Suggests "0";

View file

@ -6,3 +6,6 @@ Acquire::http::Proxy "http://{{ proxy_host }}:{{ proxy_port }}/";
# Don't download translation-files
Acquire::Languages "none";
APT::Install-Recommends "0";
APT::Install-Suggests "0";