🐧 Gentoo linux/portage support in update role!
This commit is contained in:
parent
50a13e2bcd
commit
1e8b06987a
@ -22,13 +22,11 @@
|
|||||||
>>/etc/apk/repositories
|
>>/etc/apk/repositories
|
||||||
fi
|
fi
|
||||||
when: "'alpine' in group_names"
|
when: "'alpine' in group_names"
|
||||||
tags: update alpine
|
|
||||||
|
|
||||||
- name: Update, upgrade and autoremove xbps packages
|
- name: Update, upgrade and autoremove xbps packages
|
||||||
become: true
|
become: true
|
||||||
shell: xbps-install -Suv && xbps-remove -ROo
|
shell: xbps-install -Suv && xbps-remove -ROo
|
||||||
when: package_manager == 'xbps' or 'xbps' in group_names
|
when: package_manager == 'xbps' or 'xbps' in group_names
|
||||||
tags: update
|
|
||||||
|
|
||||||
- name: Update and upgrade apk packages
|
- name: Update and upgrade apk packages
|
||||||
become: true
|
become: true
|
||||||
@ -37,7 +35,6 @@
|
|||||||
upgrade: true
|
upgrade: true
|
||||||
state: 'latest'
|
state: 'latest'
|
||||||
when: package_manager == 'apk' or 'apk' in group_names
|
when: package_manager == 'apk' or 'apk' in group_names
|
||||||
tags: update
|
|
||||||
|
|
||||||
- name: Update and upgrade apt packages
|
- name: Update and upgrade apt packages
|
||||||
become: true
|
become: true
|
||||||
@ -46,4 +43,8 @@
|
|||||||
autoremove: true
|
autoremove: true
|
||||||
upgrade: true
|
upgrade: true
|
||||||
when: package_manager == 'apt' or 'apt' in group_names
|
when: package_manager == 'apt' or 'apt' in group_names
|
||||||
tags: update
|
|
||||||
|
- name: Update and upgrade portage packages
|
||||||
|
become: true
|
||||||
|
shell: eix-sync && emerge -uDNU --with-bdeps=y @world
|
||||||
|
when: package_manager == 'emerge' or 'emerge' in group_names
|
||||||
|
Loading…
Reference in New Issue
Block a user