initial bootstrapping workflow

This commit is contained in:
Jef Roosens 2023-12-24 17:58:49 +01:00
parent f2f99a932d
commit 5ad30d3343
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
11 changed files with 129 additions and 36 deletions

View file

@ -0,0 +1,26 @@
- name: Install packages
apt:
name:
# Needed for handling GPG keys for repositories
- debian-keyring
- debian-archive-keyring
- apt-transport-https
# Easy to edit files
- vim
- tmux
- htop
state: present
- name: Install Vim config
get_url:
url: 'https://r8r.be/vim'
dest: '{{ item.dest }}'
owner: "{{ item.user }}"
group: "{{ item.user }}"
mode: '644'
with_items:
- user: debian
dest: "/home/debian/.vimrc"
- user: root
dest: "/root/.vimrc"