upgrade repositories

This commit is contained in:
Pim Kunis 2022-11-26 00:32:24 +01:00
parent b633b59cfb
commit f0fd0bd7f5
4 changed files with 21 additions and 1 deletions

4
Makefile Normal file
View file

@ -0,0 +1,4 @@
run:
ansible-playbook playbooks/setup.yml -i inventory/hosts.yml -K
.PHONY: run

View file

@ -8,10 +8,12 @@
## TODO ## TODO
- Git config (git config --global user.email "pim@kunis.nl", git config --global user.name "Pim Kunis") - Git config (git config --global user.email "pim@kunis.nl", git config --global user.name "Pim Kunis", set vim as editor)
- Install keepassxc - Install keepassxc
- Install nextcloud - Install nextcloud
- Install bashrc - Install bashrc
- Install latest neovim - Install latest neovim
- Install zsh - Install zsh
- Install i3 config - Install i3 config
- Install git
- Install make

4
inventory/hosts.yml Normal file
View file

@ -0,0 +1,4 @@
all:
hosts:
self:
ansible_connection: local

10
playbooks/setup.yml Normal file
View file

@ -0,0 +1,10 @@
- name: prerequisites
hosts: self
tasks:
- name: update repositories
become: true
apt:
upgrade: yes
state: latest
update_cache: yes
cache_valid_time: 86400 # One day