Also install vim, install ack, etckeeper

This commit is contained in:
Mark Janssen 2024-07-11 22:03:11 +02:00
parent 905affc83b
commit cd85772a94
2 changed files with 11 additions and 13 deletions

View file

@ -14,4 +14,7 @@ network_br: off
network_dhcp: off network_dhcp: off
network_static: off network_static: off
node_exporter: yes node_exporter: true
debian_packages_unwanted:
- netcat-traditional

View file

@ -26,10 +26,6 @@
file: unattended-updates.yaml file: unattended-updates.yaml
tags: unattended_updates tags: unattended_updates
- tags: apt-minimal
ansible.builtin.import_tasks:
file: apt-minimal.yaml
- name: Update authorized_keys - name: Update authorized_keys
ansible.builtin.template: ansible.builtin.template:
src: authorized_keys.j2 src: authorized_keys.j2
@ -51,17 +47,19 @@
file: node-exporter.yaml file: node-exporter.yaml
when: is_vm when: is_vm
- name: Remove Vim - name: Remove debian-packages we don't want
ansible.builtin.apt: ansible.builtin.apt:
name: vim
state: absent state: absent
autoremove: true autoremove: true
pkg: {{ debian_packages_unwanted|default([]) }}
- name: Install utilities - name: Install standard packages
ansible.builtin.apt: ansible.builtin.apt:
name: pkg:
- curl - curl
- fzf - fzf
- ack
- etckeeper
- git - git
- htop - htop
- iptables - iptables
@ -73,10 +71,7 @@
- rsync - rsync
- tree - tree
- neovim - neovim
- vim
- name: Remove netcat-traditional
ansible.builtin.apt:
name: netcat-traditional
- name: Configure FZF for Bash - name: Configure FZF for Bash
ansible.builtin.lineinfile: ansible.builtin.lineinfile: