REFACTOR: add maintenance roles doing configs stuff and system updates, add dependencies for neovim in base system
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: Update Debian systems
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
ansible.builtin.apt:
|
||||
name: "*"
|
||||
state: latest
|
||||
update-cache: true
|
||||
|
||||
- name: Update Alpine systems
|
||||
when: (ansible_facts['distribution'] == "Alpine")
|
||||
community.general.apk:
|
||||
upgrade: true
|
||||
update-cache: true
|
||||
|
||||
- name: Update RedHat systems
|
||||
when: ansible_facts['os_family'] == "RedHat"
|
||||
ansible.builtin.dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
Reference in New Issue
Block a user