mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Activated update for debian
This commit is contained in:
5
roles/native-apt-update/readme.md
Normal file
5
roles/native-apt-update/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# role native-apt-update
|
||||
This role updates the packages
|
||||
|
||||
# upgrade
|
||||
Keep in mind that you have to do the upgrade manual because debian based distributions are no runing release
|
4
roles/native-apt-update/tasks/main.yml
Normal file
4
roles/native-apt-update/tasks/main.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- name: apt update all packages to their latest version
|
||||
apt:
|
||||
name: "*"
|
||||
state: latest
|
@@ -1,2 +1,3 @@
|
||||
dependencies:
|
||||
- native-ssh
|
||||
- native-user-alarm
|
3
roles/system-update/meta/main.yml
Normal file
3
roles/system-update/meta/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- { role: native-pacman-update, when: ansible_distribution == 'Archlinux' }
|
||||
- { role: native-apt-update, when: ansible_distribution == "Debian" }
|
Reference in New Issue
Block a user